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 business.exceptions.ExcerptListUploadError.java

@ResponseStatus(value = HttpStatus.BAD_REQUEST, reason = "Excerpt list upload error.")
public class ExcerptListUploadError extends RuntimeException {

    public ExcerptListUploadError() {
        super("Excerpt list upload error.");
    }

From source file business.exceptions.ExcerptSelectionUploadError.java

@ResponseStatus(value = HttpStatus.BAD_REQUEST, reason = "Excerpt selection upload error.")
public class ExcerptSelectionUploadError extends RuntimeException {

    public ExcerptSelectionUploadError() {
        super("Excerpt selection upload error.");
    }

From source file business.exceptions.FileDeleteError.java

@ResponseStatus(value = HttpStatus.INTERNAL_SERVER_ERROR, reason = "File delete error.")
public class FileDeleteError extends RuntimeException {
    private static final long serialVersionUID = -7305899469837272938L;

    public FileDeleteError() {
        super("File delete error.");

From source file business.exceptions.FileUploadError.java

@ResponseStatus(value = HttpStatus.INTERNAL_SERVER_ERROR, reason = "File upload error.")
public class FileUploadError extends RuntimeException {
    private static final long serialVersionUID = 51403280891772531L;

    public FileUploadError() {
        super("File upload error.");

From source file business.exceptions.InvalidActionInStatus.java

@ResponseStatus(value = HttpStatus.METHOD_NOT_ALLOWED, reason = "Action not allowed in current status.")
public class InvalidActionInStatus extends RuntimeException {
    private static final long serialVersionUID = 607177856129334391L;

    public InvalidActionInStatus() {
        super("Action not allowed in current status.");

From source file business.exceptions.PasswordChangeFailed.java

@ResponseStatus(value = HttpStatus.BAD_REQUEST, reason = "Password change failed.")
public class PasswordChangeFailed extends RuntimeException {
    private static final long serialVersionUID = 3396082870753983510L;

    public PasswordChangeFailed() {
        super("Password change failed.");

From source file business.exceptions.FileCopyError.java

@ResponseStatus(value = HttpStatus.INTERNAL_SERVER_ERROR, reason = "Error copying file.")
public class FileCopyError extends RuntimeException {

    private static final long serialVersionUID = 1L;

    public FileCopyError() {

From source file business.exceptions.FileDownloadError.java

@ResponseStatus(value = HttpStatus.INTERNAL_SERVER_ERROR, reason = "File download error.")
public class FileDownloadError extends RuntimeException {

    private static final long serialVersionUID = -5240643155513205816L;

    public FileDownloadError() {

From source file com.tamnd2.basicwebapp.rest.exceptions.ForbiddenException.java

/**
 *
 * @author tamnd2
 */
@ResponseStatus(value = HttpStatus.FORBIDDEN)
public class ForbiddenException extends RuntimeException {

From source file br.ufc.deti.ecgweb.application.controller.ServiceInvalidInputParametersException.java

/**
 *
 * @author Marcelo Araujo Lima
 */
@ResponseStatus(value = HttpStatus.NOT_FOUND, reason = "Invalid Input Parameters.")
public class ServiceInvalidInputParametersException extends RuntimeException {