Class FailedAuthnException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.sourceid.wstrust.plugin.TokenProcessingException
-
- org.sourceid.wstrust.plugin.process.FailedAuthnException
-
- All Implemented Interfaces:
Serializable
public class FailedAuthnException extends TokenProcessingException
An exception to be thrown when a token translator was unable to process a token because of a failed authentication. This exception will allow clients to distinguish when to prompt for new credentials.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FailedAuthnException(String message)Constructs a new FailedAuthnException with the specified detail message.FailedAuthnException(String message, Throwable throwable)Constructs a new FailedAuthnException with the specified detail message and cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
FailedAuthnException
public FailedAuthnException(String message)
Constructs a new FailedAuthnException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable).- Parameters:
message- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()method.
-
FailedAuthnException
public FailedAuthnException(String message, Throwable throwable)
Constructs a new FailedAuthnException with the specified detail message and cause.Note that the detail message associated with
causeis not automatically incorporated in this exception's detail message.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method).throwable- the cause (which is saved for later retrieval by theThrowable.getCause()method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)- Since:
- 1.4
-
-