org.apache.ws.security.conversation
Class ConversationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.ws.security.conversation.ConversationException
All Implemented Interfaces:
Serializable

public class ConversationException
extends Exception

See Also:
Serialized Form

Field Summary
static String BAD_CONTEXT_TOKEN
           
static String RENEW_NEEDED
           
static String UNABLE_TO_REVIEW
           
static String UNKNOWN_DERIVATION_SOURCE
           
static String UNSUPPORTED_CONTEXT_TOKEN
           
 
Constructor Summary
ConversationException(String faultCode)
           
ConversationException(String faultCode, Object[] args)
           
ConversationException(String faultCode, Object[] args, Throwable e)
           
ConversationException(String faultCode, Throwable e)
           
 
Method Summary
protected  String getFaultCode()
           
protected  String getFaultString()
           
protected static String getMessage(String faultCode, 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
 

Field Detail

BAD_CONTEXT_TOKEN

public static final String BAD_CONTEXT_TOKEN
See Also:
Constant Field Values

UNSUPPORTED_CONTEXT_TOKEN

public static final String UNSUPPORTED_CONTEXT_TOKEN
See Also:
Constant Field Values

UNKNOWN_DERIVATION_SOURCE

public static final String UNKNOWN_DERIVATION_SOURCE
See Also:
Constant Field Values

RENEW_NEEDED

public static final String RENEW_NEEDED
See Also:
Constant Field Values

UNABLE_TO_REVIEW

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

ConversationException

public ConversationException(String faultCode,
                             Object[] args)

ConversationException

public ConversationException(String faultCode)

ConversationException

public ConversationException(String faultCode,
                             Object[] args,
                             Throwable e)

ConversationException

public ConversationException(String faultCode,
                             Throwable e)
Method Detail

getMessage

protected static String getMessage(String faultCode,
                                   Object[] args)
get the message from resource bundle.

Returns:
the message translated from the property (message) file.

getFaultCode

protected String getFaultCode()
Returns:
Returns the faultCode.

getFaultString

protected String getFaultString()
Returns:
Returns the faultString.


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.