List of usage examples for java.lang RuntimeException subclass-usage
From source file business.exceptions.ExcerptListNotFound.java
@ResponseStatus(value = HttpStatus.NOT_FOUND, reason = "Excerpt list not found.") public class ExcerptListNotFound extends RuntimeException { public ExcerptListNotFound() { super("Excerpt list not found."); } }
From source file business.exceptions.FileNotFound.java
@ResponseStatus(value = HttpStatus.NOT_FOUND, reason = "File not found for request.") // 404 public class FileNotFound extends RuntimeException { private static final long serialVersionUID = -3306430106255243401L; }
From source file business.exceptions.InvalidLabNumber.java
@ResponseStatus(value = HttpStatus.BAD_REQUEST) // public class InvalidLabNumber extends RuntimeException { public InvalidLabNumber() { super("Invalid lab number."); } }
From source file business.exceptions.InvalidPermissionExpression.java
@ResponseStatus(value = HttpStatus.FORBIDDEN, reason = "Invalid permission expression.") public class InvalidPermissionExpression extends RuntimeException { private static final long serialVersionUID = -6899697912895646944L; }
From source file business.exceptions.LabuserWithoutLab.java
@ResponseStatus(value = HttpStatus.BAD_REQUEST) // public class LabuserWithoutLab extends RuntimeException { public LabuserWithoutLab(String message) { super(message); } }
From source file business.exceptions.NullIdentifier.java
@ResponseStatus(value = HttpStatus.BAD_REQUEST, reason = "Identifier is null.") public class NullIdentifier extends RuntimeException { private static final long serialVersionUID = 830272783214319532L; }
From source file business.exceptions.PaNumbersDownloadError.java
@ResponseStatus(value = HttpStatus.INTERNAL_SERVER_ERROR, reason = "Error while downloading PA numbers.") public class PaNumbersDownloadError extends RuntimeException { public PaNumbersDownloadError() { super("\"Error while downloading PA numbers."); } }
From source file business.exceptions.RequestNotAdmissible.java
@ResponseStatus(value = HttpStatus.BAD_REQUEST) // public class RequestNotAdmissible extends RuntimeException { public RequestNotAdmissible() { super("Request is not admissible."); } }
From source file business.exceptions.RequestNotApproved.java
@ResponseStatus(value = HttpStatus.BAD_REQUEST) // public class RequestNotApproved extends RuntimeException { public RequestNotApproved() { super("Request is not approved."); } }
From source file business.exceptions.UserUnauthorised.java
@ResponseStatus(value = HttpStatus.UNAUTHORIZED) // public class UserUnauthorised extends RuntimeException { public UserUnauthorised(String message) { super(message); } }