org.apache.rahas
Class TrustException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.rahas.TrustException
- All Implemented Interfaces:
- java.io.Serializable
public class TrustException
- extends java.lang.Exception
- See Also:
- Serialized Form
Constructor Summary |
TrustException(java.lang.String faultCode)
|
TrustException(java.lang.String faultCode,
java.lang.Object[] args)
|
TrustException(java.lang.String faultCode,
java.lang.Object[] args,
java.lang.Throwable e)
|
TrustException(java.lang.String faultCode,
java.lang.Throwable e)
|
Method Summary |
protected java.lang.String |
getFaultCode()
|
protected java.lang.String |
getFaultString()
|
protected static java.lang.String |
getMessage(java.lang.String faultCode,
java.lang.Object[] args)
get the message from resource bundle. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
INVALID_REQUEST
public static final java.lang.String INVALID_REQUEST
- See Also:
- Constant Field Values
FAILED_AUTHENTICATION
public static final java.lang.String FAILED_AUTHENTICATION
- See Also:
- Constant Field Values
REQUEST_FAILED
public static final java.lang.String REQUEST_FAILED
- See Also:
- Constant Field Values
INVALID_SECURITY_TOKEN
public static final java.lang.String INVALID_SECURITY_TOKEN
- See Also:
- Constant Field Values
AUTHENTICATION_BAD_ELEMENTS
public static final java.lang.String AUTHENTICATION_BAD_ELEMENTS
- See Also:
- Constant Field Values
BAD_REQUEST
public static final java.lang.String BAD_REQUEST
- See Also:
- Constant Field Values
EXPIRED_DATA
public static final java.lang.String EXPIRED_DATA
- See Also:
- Constant Field Values
INVALID_TIME_RANGE
public static final java.lang.String INVALID_TIME_RANGE
- See Also:
- Constant Field Values
INVALID_SCOPE
public static final java.lang.String INVALID_SCOPE
- See Also:
- Constant Field Values
RENEW_NEEDED
public static final java.lang.String RENEW_NEEDED
- See Also:
- Constant Field Values
UNABLE_TO_RENEW
public static final java.lang.String UNABLE_TO_RENEW
- See Also:
- Constant Field Values
TrustException
public TrustException(java.lang.String faultCode,
java.lang.Object[] args)
TrustException
public TrustException(java.lang.String faultCode)
TrustException
public TrustException(java.lang.String faultCode,
java.lang.Object[] args,
java.lang.Throwable e)
TrustException
public TrustException(java.lang.String faultCode,
java.lang.Throwable e)
getMessage
protected static java.lang.String getMessage(java.lang.String faultCode,
java.lang.Object[] args)
- get the message from resource bundle.
- Returns:
- the message translated from the property (message) file.
getFaultCode
protected java.lang.String getFaultCode()
- Returns:
- Returns the faultCode.
getFaultString
protected java.lang.String getFaultString()
- Returns:
- Returns the faultString.