Class NoResponseFactoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.grumpystuff.grumpyrest.response.NoResponseFactoryException
- All Implemented Interfaces:
Serializable
This exception type gets thrown if no response factory can be found for a specific response value. The most common
case for this is that the response value is itself an unexpected exception. That response value will be hidden from
the client so we don't leak any secrets, but it will be logged.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoResponseFactoryException
Constructor.- Parameters:
responseValue- the response value for which no factory could be found
-
-
Method Details
-
getResponseValue
Getter for the response value- Returns:
- the response value
-