com.ds.fw.exceptions
Class FwException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ds.fw.exceptions.FwException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FwNoComponentException, FwNoPermissionException, FwNotFoundException, FwRequestProcessingException

public class FwException
extends java.lang.Exception

See Also:
Serialized Form

Constructor Summary
FwException()
          Null constructor.
FwException(java.lang.String msg)
          Constructs this object by initializing superclass with given string(message).
FwException(java.lang.String msg, java.lang.Throwable cause)
          Constructs this object with message and original cause of exception.
FwException(java.lang.Throwable cause)
          Constructs this object with no specific message and original cause of exception.
 
Method Summary
 java.lang.Throwable getCause()
          Returns cause of exception.
 java.lang.String getMessage()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream s)
           
 void printStackTrace(java.io.PrintWriter s)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FwException

public FwException()
Null constructor.


FwException

public FwException(java.lang.String msg)
Constructs this object by initializing superclass with given string(message).


FwException

public FwException(java.lang.String msg,
                   java.lang.Throwable cause)
Constructs this object with message and original cause of exception. This is intended to 'translate' original exception to ComponentManagementException.

Parameters:
msg - message
cause - original exception

FwException

public FwException(java.lang.Throwable cause)
Constructs this object with no specific message and original cause of exception. This is intended to 'translate' original exception to ComponentManagementException.

Parameters:
cause - original exception
Method Detail

getCause

public java.lang.Throwable getCause()
Returns cause of exception.

Overrides:
getCause in class java.lang.Throwable

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Overrides:
printStackTrace in class java.lang.Throwable

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable