Package com.linkedin.alpini.base.misc
Class ExceptionWithStatus
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.linkedin.alpini.base.misc.ExceptionWithStatus
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ExceptionWithResponseStatus
,RouterException
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionExceptionWithStatus
(Class<STATUS> statusClass, STATUS status, int code, String message) ExceptionWithStatus
(Class<STATUS> statusClass, STATUS status, int code, String message, Throwable cause) protected
ExceptionWithStatus
(Class<STATUS> statusClass, STATUS status, int code, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExceptionWithStatus
-
ExceptionWithStatus
-
ExceptionWithStatus
-
-
Method Details
-
status
-
status
-
code
public int code()
-