org.apache.axis2.security.trust
Class TrustException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.axis2.security.trust.TrustException
All Implemented Interfaces:
Serializable

public class TrustException
extends Exception

See Also:
Serialized Form

Field Summary
static String AUTHENTICATION_BAD_ELEMENTS
           
static String BAD_REQUEST
           
static String DESC_CHILD_IN_VALUE_ELEM
           
static String DESC_EXPECTED_CHILD_ELEM
           
static String DESC_INCORRECT_CHILD_ELEM
           
static String DESC_TEXT_IN_COMPOSITE_ELEM
           
static String ERROR_IN_CONVERTING_TO_DOM
           
static String ERROR_IN_CONVERTING_TO_OM
           
static String EXPIREDDATA
           
static String FAILED_AUTHENTICATION
           
static String INVAILD_SCOPE
           
static String INVAILD_TIME_RANGE
           
static String INVALID_REQUEST
           
static String INVALID_SECURITY_TOKEN
           
static String RENEW_NEEDED
           
static String REQUEST_FAILED
           
static String UNABLE_TO_RENEW
           
 
Constructor Summary
TrustException(String message)
           
TrustException(String faultCode, String msg)
          This is used to set a custom message in the exception.
TrustException(String faultCode, String msgId, Object[] args)
           
TrustException(String faultCode, String msgId, Object[] args, Throwable exception)
           
TrustException(String message, Throwable ex)
           
 
Method Summary
 String getFaultCode()
          Returns the fault code.
 String getFaultString()
          Returns the fault string.
 
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
 

Field Detail

INVALID_REQUEST

public static final String INVALID_REQUEST
See Also:
Constant Field Values

FAILED_AUTHENTICATION

public static final String FAILED_AUTHENTICATION
See Also:
Constant Field Values

REQUEST_FAILED

public static final String REQUEST_FAILED
See Also:
Constant Field Values

INVALID_SECURITY_TOKEN

public static final String INVALID_SECURITY_TOKEN
See Also:
Constant Field Values

AUTHENTICATION_BAD_ELEMENTS

public static final String AUTHENTICATION_BAD_ELEMENTS
See Also:
Constant Field Values

BAD_REQUEST

public static final String BAD_REQUEST
See Also:
Constant Field Values

EXPIREDDATA

public static final String EXPIREDDATA
See Also:
Constant Field Values

INVAILD_TIME_RANGE

public static final String INVAILD_TIME_RANGE
See Also:
Constant Field Values

INVAILD_SCOPE

public static final String INVAILD_SCOPE
See Also:
Constant Field Values

RENEW_NEEDED

public static final String RENEW_NEEDED
See Also:
Constant Field Values

UNABLE_TO_RENEW

public static final String UNABLE_TO_RENEW
See Also:
Constant Field Values

DESC_INCORRECT_CHILD_ELEM

public static final String DESC_INCORRECT_CHILD_ELEM
See Also:
Constant Field Values

DESC_EXPECTED_CHILD_ELEM

public static final String DESC_EXPECTED_CHILD_ELEM
See Also:
Constant Field Values

DESC_CHILD_IN_VALUE_ELEM

public static final String DESC_CHILD_IN_VALUE_ELEM
See Also:
Constant Field Values

DESC_TEXT_IN_COMPOSITE_ELEM

public static final String DESC_TEXT_IN_COMPOSITE_ELEM
See Also:
Constant Field Values

ERROR_IN_CONVERTING_TO_OM

public static final String ERROR_IN_CONVERTING_TO_OM
See Also:
Constant Field Values

ERROR_IN_CONVERTING_TO_DOM

public static final String ERROR_IN_CONVERTING_TO_DOM
See Also:
Constant Field Values
Constructor Detail

TrustException

public TrustException(String faultCode,
                      String msgId,
                      Object[] args,
                      Throwable exception)
Parameters:
faultCode -
msgId -
args -
exception -

TrustException

public TrustException(String faultCode,
                      String msgId,
                      Object[] args)
Parameters:
faultCode -
msgId -
args -

TrustException

public TrustException(String faultCode,
                      String msg)
This is used to set a custom message in the exception.

Parameters:
faultCode -
msg -

TrustException

public TrustException(String message)
Parameters:
message -

TrustException

public TrustException(String message,
                      Throwable ex)
Parameters:
message -
ex -
Method Detail

getFaultCode

public String getFaultCode()
Returns the fault code.

Returns:
Returns String.

getFaultString

public String getFaultString()
Returns the fault string.

Returns:
Returns String.