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 io.curly.commons.web.UnauthorizedException.java

/**
 * @author Joao Pedro Evangelista
 */
@SuppressWarnings("unused")
@ResponseStatus(HttpStatus.UNAUTHORIZED)
public class UnauthorizedException extends RuntimeException {

From source file io.curly.commons.web.InternalServerErrorException.java

/**
 * @author Joao Pedro Evangelista
 */
@SuppressWarnings("unused")
@ResponseStatus(HttpStatus.INTERNAL_SERVER_ERROR)
public class InternalServerErrorException extends RuntimeException {

From source file io.curly.commons.web.ResourceNotFoundException.java

/**
 * @author Joao Pedro Evangelista
 */
@SuppressWarnings("unused")
@ResponseStatus(HttpStatus.NOT_FOUND)
public class ResourceNotFoundException extends RuntimeException {

From source file org.openbaton.vnfm.api.exceptions.StateException.java

@SuppressWarnings("serial")
@ResponseStatus(value = HttpStatus.FORBIDDEN)
public class StateException extends RuntimeException {

    public StateException(String id) {
        super("Network Service Descriptor with id: " + id + " is in the wrong state");

From source file org.springsource.restbucks.order.web.OrderAlreadyPaidException.java

/**
 * Exception being thrown in case an {@link Order} has already been paid and a payment is reattempted.
 * 
 * @author Oliver Gierke
 */
@ResponseStatus(HttpStatus.METHOD_NOT_ALLOWED)

From source file com.marklogic.samplestack.exception.SamplestackNotFoundException.java

/**
 * Wraps the an exception when data is not found in the database.
 */
@SuppressWarnings("serial")
@ResponseStatus(HttpStatus.NOT_FOUND)
public class SamplestackNotFoundException extends RuntimeException {

From source file com.costrategix.core.web.ResourceNotFoundException.java

@ResponseStatus(value = HttpStatus.NOT_FOUND)
public class ResourceNotFoundException extends RuntimeException {

    private static final long serialVersionUID = -4550183714571936426L;
    private Long resourceId;

From source file ubic.basecode.util.CancellationException.java

/**
 * Throw this exception when an InterruptedException or isInterrupted() is true, to notify the thread to quit.
 * 
 * @author pavlidis
 * @version $Id: CancellationException.java,v 1.2 2006/03/29 23:27:28 paul Exp $
 */

From source file org.openbaton.autoscaling.api.exceptions.StateException.java

@SuppressWarnings("serial")
@ResponseStatus(value = HttpStatus.FORBIDDEN)
public class StateException extends RuntimeException {

    public StateException(String id) {
        super("Network Service Descriptor with id: " + id + " is in the wrong state");

From source file io.curly.commons.config.feign.ex.BadRequestException.java

/**
 * @author Joao Pedro Evangelista
 */
@SuppressWarnings("unused")
@ResponseStatus(HttpStatus.BAD_REQUEST)
public class BadRequestException extends RuntimeException {