public final class PortalException extends RuntimeException
Constructor and Description |
---|
PortalException(HttpStatus status,
String message) |
PortalException(HttpStatus status,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
HttpStatus |
getStatus() |
static PortalException |
internalServerError(String message) |
static PortalException |
notFound(String message) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PortalException(HttpStatus status, String message)
public PortalException(HttpStatus status, Throwable cause)
public HttpStatus getStatus()
public static PortalException notFound(String message)
public static PortalException internalServerError(String message)