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 eu.freme.common.exception.BadRequestException.java

@SuppressWarnings("serial")
@ResponseStatus(value = HttpStatus.BAD_REQUEST, reason = "")
public class BadRequestException extends RuntimeException {

    public BadRequestException(String msg) {
        super(msg);

From source file eu.freme.common.exception.UnsupportedEndpointType.java

@SuppressWarnings("serial")
@ResponseStatus(value = HttpStatus.BAD_REQUEST, reason = "")
public class UnsupportedEndpointType extends RuntimeException {

    public UnsupportedEndpointType(String msg) {
        super(msg);

From source file com.ironiacorp.scm.TransactionError.java

/**
 * Exception launched when a anomaly is detected when creating or executing
 * a transaction.
 * 
 * This exception should encapsulate the exception that triggered the real
 * transaction error (if any).

From source file org.wso2.carbon.cassandra.cluster.mgt.ui.exception.ClusterAdminClientException.java

/**
 * Represents errors on the cassandra cluster admin client-side
 */

public class ClusterAdminClientException extends RuntimeException {

From source file org.storage.controller.ResourceNotFoundException.java

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

    private String resourceId;

    public ResourceNotFoundException(String resourceId) {

From source file org.apigw.authserver.types.exception.LegalGuardianValidationException.java

@ResponseStatus(value = HttpStatus.FORBIDDEN, reason = "Could not validate legal guardian.")
public class LegalGuardianValidationException extends RuntimeException {

    /**
     * 
     */

From source file cf.client.UnexpectedResponseException.java

/**
 * @author Mike Heath <elcapo@gmail.com>
 */
public class UnexpectedResponseException extends RuntimeException {
    public UnexpectedResponseException(HttpResponse response) {
        super(buildMessage(response));

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

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

    public static Supplier<ForbiddenException> forbiddenException(String message) {
        return () -> new ForbiddenException(message);
    }

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

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

    public static Supplier<NotFoundException> notFoundException(String message) {
        return () -> new NotFoundException(message);
    }

From source file eu.freme.common.exception.UnsupportedRDFSerializationException.java

/**
 * Created by Arne on 21.09.2016.
 */
@SuppressWarnings("serial")
@ResponseStatus(value = HttpStatus.BAD_REQUEST, reason = "")
public class UnsupportedRDFSerializationException extends RuntimeException {