Class ResponseProcessingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
se.swedenconnect.opensaml.saml2.response.ResponseProcessingException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ResponseValidationException
Exception class for the SAML response processor.
- Author:
- Martin Lindström (martin@idsec.se)
- See Also:
-
Constructor Summary
ConstructorDescriptionResponseProcessingException
(String message) Constructor taking an error message.ResponseProcessingException
(String message, Throwable cause) Constructor taking an error message and the cause of the error.ResponseProcessingException
(String message, Throwable cause, org.opensaml.saml.saml2.core.Response response) Constructor taking an error message, the cause of the error and the response.ResponseProcessingException
(String message, org.opensaml.saml.saml2.core.Response response) Constructor taking an error message and the response. -
Method Summary
Modifier and TypeMethodDescriptionorg.opensaml.saml.saml2.core.Response
Gets theResponse
that was processed when the error was reported.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ResponseProcessingException
Constructor taking an error message.- Parameters:
message
- the error message
-
ResponseProcessingException
Constructor taking an error message and the response.- Parameters:
message
- the error messageresponse
- the response that was processed when the error was reported
-
ResponseProcessingException
Constructor taking an error message and the cause of the error.- Parameters:
message
- the error messagecause
- the cause of the error
-
ResponseProcessingException
public ResponseProcessingException(String message, Throwable cause, org.opensaml.saml.saml2.core.Response response) Constructor taking an error message, the cause of the error and the response.- Parameters:
message
- the error messagecause
- the cause of the errorresponse
- the response that was processed when the error was reported
-
-
Method Details
-
getResponse
public org.opensaml.saml.saml2.core.Response getResponse()Gets theResponse
that was processed when the error was reported.- Returns:
- the
Response
ornull
if no response was assigned
-