public class ActiveRequestorException extends WSFederationException
WSFederationException
type that specifically handles error situations corresponding to WS-Federation Active
Requestor Profile.Modifier and Type | Method and Description |
---|---|
SOAPMessage |
getSOAPFault()
Returns the exception's SOAP Fault representation that can be returned back to the SOAP client as a response.
|
static ActiveRequestorException |
newReceiverException(String key,
String... args)
Constructs a new exception instance for server side errors.
|
static ActiveRequestorException |
newReceiverException(Throwable throwable)
Constructs a new exception instance for server side errors based on exception objects.
|
static ActiveRequestorException |
newSenderException(String key,
String... args)
Constructs a new exception instance for client side errors.
|
getErrorCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleName
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static ActiveRequestorException newSenderException(String key, String... args)
key
- The localization key to use when constructing the SOAP fault.args
- Additional parameters for the localized message.public static ActiveRequestorException newReceiverException(String key, String... args)
key
- The localization key to use when constructing the SOAP fault.args
- Additional parameters for the localized message.public static ActiveRequestorException newReceiverException(Throwable throwable)
throwable
- The exception that should be encapsulated in the error message.public SOAPMessage getSOAPFault()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.