Package si.mazi.rescu
Class ExceptionalReturnContentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
si.mazi.rescu.ExceptionalReturnContentException
- All Implemented Interfaces:
Serializable
public class ExceptionalReturnContentException extends RuntimeException
Throw this exception (eg. in your json model class constructors) to signal that rescu
should parse the response body as exception. Declare the exception type on the method.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ExceptionalReturnContentException(String message) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString