org.apache.rampart
Class RampartException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.rampart.RampartException
All Implemented Interfaces:
Serializable

public class RampartException
extends Exception

See Also:
Serialized Form

Constructor Summary
RampartException(String faultCode)
           
RampartException(String faultCode, Object[] args)
           
RampartException(String faultCode, Object[] args, Throwable e)
           
RampartException(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
 

Constructor Detail

RampartException

public RampartException(String faultCode,
                        Object[] args)

RampartException

public RampartException(String faultCode)

RampartException

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

RampartException

public RampartException(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.