Package com.shri.restinpeace.exception
Class RestInPeaceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.shri.restinpeace.exception.RestInPeaceException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BulkheadFullException,CircuitOpenException,RestInPeaceHttpException
Unchecked exception thrown for any REST-in-peace runtime error - a
@RestClient interface missing @RestClient or failing
validation (see RestInPeaceValidationException for the underlying
validation errors), a missing required parameter value, or an
unsupported HTTP method/annotation combination.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an exception with no message or cause.RestInPeaceException(String message) Creates an exception with a message.RestInPeaceException(String message, Throwable cause) Creates an exception with a message and cause.RestInPeaceException(Throwable cause) Creates an exception with a cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RestInPeaceException
public RestInPeaceException()Creates an exception with no message or cause. -
RestInPeaceException
Creates an exception with a message and cause.- Parameters:
message- a description of what went wrongcause- the underlying cause
-
RestInPeaceException
Creates an exception with a message.- Parameters:
message- a description of what went wrong
-
RestInPeaceException
Creates an exception with a cause.- Parameters:
cause- the underlying cause
-