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 net.oneandone.stool.overview.ResourceNotFoundException.java

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

From source file org.openbaton.nfvo.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 pl.java.scalatech.exception.UserNotFoundException.java

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

    public UserNotFoundException(String userId) {
        super("could not find user '" + userId + "'.");
    }

From source file org.displaytag.exception.BaseNestableRuntimeException.java

/**
 * Base runtime exception: extendes RuntimeException providing logging and exception nesting functionalities.
 * @author Fabrizio Giustina
 * @version $Revision: 1.6 $ ($Author: fgiust $)
 */
public abstract class BaseNestableRuntimeException extends RuntimeException {

From source file io.pivotal.cla.mvc.ResourceNotFoundException.java

/**
 * @author Rob Winch
 *
 */
@SuppressWarnings("serial")
@ResponseStatus(value = HttpStatus.NOT_FOUND)

From source file com.homeadvisor.kafdrop.service.BrokerNotFoundException.java

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

    public BrokerNotFoundException(String message) {

From source file com.homeadvisor.kafdrop.service.ConsumerNotFoundException.java

@ResponseStatus(HttpStatus.NOT_FOUND)
public class ConsumerNotFoundException extends RuntimeException {
    public ConsumerNotFoundException(String message) {
        super(message);
    }

From source file com.homeadvisor.kafdrop.service.PartitionNotFoundException.java

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

    public PartitionNotFoundException(String message) {

From source file com.homeadvisor.kafdrop.service.TopicNotFoundException.java

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

    public TopicNotFoundException(String message) {

From source file org.fishwife.jrugged.httpclient.UnsuccessfulResponseException.java

/**
 * Used to wrap 4XX or 5XX responses from an HTTP server in exceptions
 * so that {@link org.fishwife.jrugged.ServiceWrapper} instances can
 * experience them as failures.
 */
public class UnsuccessfulResponseException extends RuntimeException {