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

public class RestInPeaceException extends RuntimeException
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 Details

    • RestInPeaceException

      public RestInPeaceException()
      Creates an exception with no message or cause.
    • RestInPeaceException

      public RestInPeaceException(String message, Throwable cause)
      Creates an exception with a message and cause.
      Parameters:
      message - a description of what went wrong
      cause - the underlying cause
    • RestInPeaceException

      public RestInPeaceException(String message)
      Creates an exception with a message.
      Parameters:
      message - a description of what went wrong
    • RestInPeaceException

      public RestInPeaceException(Throwable cause)
      Creates an exception with a cause.
      Parameters:
      cause - the underlying cause