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

public class ResponseProcessingException extends Exception
Exception class for the SAML response processor.
Author:
Martin Lindström (martin@idsec.se)
See Also:
  • Constructor Details

    • ResponseProcessingException

      public ResponseProcessingException(String message)
      Constructor taking an error message.
      Parameters:
      message - the error message
    • ResponseProcessingException

      public ResponseProcessingException(String message, org.opensaml.saml.saml2.core.Response response)
      Constructor taking an error message and the response.
      Parameters:
      message - the error message
      response - the response that was processed when the error was reported
    • ResponseProcessingException

      public ResponseProcessingException(String message, Throwable cause)
      Constructor taking an error message and the cause of the error.
      Parameters:
      message - the error message
      cause - 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 message
      cause - the cause of the error
      response - the response that was processed when the error was reported
  • Method Details

    • getResponse

      public org.opensaml.saml.saml2.core.Response getResponse()
      Gets the Response that was processed when the error was reported.
      Returns:
      the Response or null if no response was assigned