Example usage for java.lang RuntimeException subclass-usage

List of usage examples for java.lang RuntimeException subclass-usage

Introduction

In this page you can find the example usage for java.lang RuntimeException subclass-usage.

Usage

From source file demo.web.UserNameNotFoundException.java

@ResponseStatus(HttpStatus.NOT_FOUND)
public class UserNameNotFoundException extends RuntimeException {

    private String username;

    public UserNameNotFoundException(String username) {

From source file biz.dfch.activiti.wrapper.exception.ActivityException.java

@ResponseStatus(value = HttpStatus.BAD_REQUEST)
public class ActivityException extends RuntimeException {

    public ActivityException(String message) {
        super(message);
    }

From source file ar.com.zauber.commons.web.proxy.impl.dao.behaviour.URLRequestMapperAssertionsException.java

/**
 * The {@link URLRequestMapperAssertion} failed.
 * 
 * @author Juan F. Codagnone
 * @since Aug 30, 2008
 */

From source file org.wallride.web.support.HttpForbiddenException.java

@ResponseStatus(HttpStatus.FORBIDDEN)
@SuppressWarnings("serial")
public class HttpForbiddenException extends RuntimeException {

    public HttpForbiddenException() {
        super();

From source file org.wallride.web.support.HttpNotFoundException.java

@ResponseStatus(HttpStatus.NOT_FOUND)
@SuppressWarnings("serial")
public class HttpNotFoundException extends RuntimeException {

    public HttpNotFoundException() {
        super();

From source file de.micromata.genome.util.validation.ValStatusException.java

/**
 * Base class on ValMessage related exceptions.
 * 
 * @author Roger Rene Kommer (r.kommer.extern@micromata.de)
 *
 */

From source file de.perdian.apps.dashboard.DashboardException.java

@ResponseStatus(HttpStatus.NOT_FOUND)
public class DashboardException extends RuntimeException {

    static final long serialVersionUID = 1L;

    public DashboardException(String message) {

From source file com.devnexus.ting.web.controller.UserNotLoggedInException.java

@ResponseStatus(value = HttpStatus.UNAUTHORIZED, reason = "User not logged in") // 404
public class UserNotLoggedInException extends RuntimeException {

    public UserNotLoggedInException(String message) {
        super(message);
    }

From source file com.linkedin.bowser.core.exceptions.QueryRuntimeException.java

public class QueryRuntimeException extends RuntimeException {
    private static final long serialVersionUID = 1L;

    private final int _line;
    private final int _charPositionInLine;
    private final String _text;

From source file org.gradle.internal.component.model.ConfigurationNotFoundException.java

public class ConfigurationNotFoundException extends RuntimeException {
    public ConfigurationNotFoundException(ComponentIdentifier fromComponent, String fromConfiguration,
            String toConfiguration, ComponentIdentifier toComponent) {
        super(String.format(
                "%s declares a dependency from configuration '%s' to configuration '%s' which is not declared in the descriptor for %s.",
                StringUtils.capitalize(fromComponent.getDisplayName()), fromConfiguration, toConfiguration,