Class GafferRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- uk.gov.gchq.gaffer.core.exception.GafferRuntimeException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SchemaException
public class GafferRuntimeException extends RuntimeException
Subtype ofRuntimeException
with additional constructors to support the inclusion of a HTTP error message along with the other exception details.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GafferRuntimeException(String message)
GafferRuntimeException(String message, Throwable cause)
GafferRuntimeException(String message, Throwable cause, Status status)
GafferRuntimeException(String message, Status status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Status
getStatus()
void
setStatus(Status status)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
GafferRuntimeException
public GafferRuntimeException(String message)
-
-