List of usage examples for java.lang RuntimeException subclass-usage
From source file business.exceptions.InvalidPassword.java
@ResponseStatus(value = HttpStatus.BAD_REQUEST, reason = "Invalid password") // public class InvalidPassword extends RuntimeException { }
From source file business.exceptions.NotLoggedInException.java
@ResponseStatus(value = HttpStatus.UNAUTHORIZED, reason = "Not logged in.") public class NotLoggedInException extends RuntimeException { private static final long serialVersionUID = -2361055636793206513L; }
From source file business.exceptions.PathologyNotFound.java
@ResponseStatus(value = HttpStatus.NOT_FOUND, reason = "Pathology not found.") // 404 public class PathologyNotFound extends RuntimeException { }
From source file business.exceptions.RequestNotFound.java
@ResponseStatus(value = HttpStatus.NOT_FOUND, reason = "Request not found.") // 404 public class RequestNotFound extends RuntimeException { private static final long serialVersionUID = 607177856129334391L; }
From source file business.exceptions.TaskNotFound.java
@ResponseStatus(value = HttpStatus.NOT_FOUND, reason = "No task for request.") // 404 public class TaskNotFound extends RuntimeException { private static final long serialVersionUID = -2361055636793206513L; }
From source file business.exceptions.UserNotFound.java
@ResponseStatus(value = HttpStatus.NOT_FOUND, reason = "User not found.") // 404 public class UserNotFound extends RuntimeException { private static final long serialVersionUID = -7666653096938904964L; }
From source file ua.epam.rd.web.NotFoundOrderException.java
@ResponseStatus(value = HttpStatus.NOT_FOUND, reason = "Order not found") public class NotFoundOrderException extends RuntimeException { public NotFoundOrderException(String string) { super(string); }
From source file ua.epam.rd.web.NotFoundPizzaException.java
@ResponseStatus(value = HttpStatus.NOT_FOUND, reason = "Pizza not found") public class NotFoundPizzaException extends RuntimeException { public NotFoundPizzaException(String string) { super(string); }
From source file business.exceptions.AttachmentNotFound.java
@ResponseStatus(value = HttpStatus.NOT_FOUND, reason = "Attachment not found for request.") // 404 public class AttachmentNotFound extends RuntimeException { private static final long serialVersionUID = -3306430106255243401L; }
From source file business.exceptions.ExcerptListDownloadError.java
@ResponseStatus(value = HttpStatus.INTERNAL_SERVER_ERROR, reason = "Error while downloading excerpt list.") public class ExcerptListDownloadError extends RuntimeException { public ExcerptListDownloadError() { super("Error while downloading excerpt list."); } }