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 fi.helsinki.opintoni.exception.http.CalendarFeedNotFoundException.java

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

From source file org.sonatype.nexus.repository.proxy.ProxyServiceException.java

/**
 * A format-neutral proxy service exception thrown in cases like proxy with misconfiguration or remote down.
 *
 * @since 3.0
 */
public class ProxyServiceException extends RuntimeException {

From source file com.basho.riak.client.http.response.RiakResponseRuntimeException.java

/**
 * Thrown when the Riak server returns a malformed response. The HTTP response
 * is returned in the exception.
 */
public class RiakResponseRuntimeException extends RuntimeException implements HttpResponse {

From source file com.msopentech.odatajclient.engine.communication.ODataServerErrorException.java

/**
 * Represents a server error in OData.
 */
public class ODataServerErrorException extends RuntimeException {

    private static final long serialVersionUID = -6423014532618680135L;

From source file fi.helsinki.opintoni.exception.http.BadRequestException.java

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

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

From source file fi.helsinki.opintoni.exception.http.RestClientServiceException.java

@ResponseStatus(value = HttpStatus.INTERNAL_SERVER_ERROR)
public class RestClientServiceException extends RuntimeException {

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

From source file dk.clanie.exception.AbstractRuntimeException.java

/**
 * Common functionality for all RuntimeExceptions.
 * 
 * @author Claus Nielsen
 */
@SuppressWarnings("serial")

From source file se.vgregion.mobile.controllers.ResourceNotFoundException.java

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

    public ResourceNotFoundException() {
        super();
    }

From source file io.kamax.mxisd.exception.BadRequestException.java

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

    public BadRequestException(String s) {
        super(s);
    }

From source file io.kamax.mxisd.exception.InvalidCredentialsException.java

@ResponseStatus(value = HttpStatus.FORBIDDEN)
public class InvalidCredentialsException extends RuntimeException {

    public InvalidCredentialsException() {
        super("Supplied credentials are invalid");
    }