com.ideo.sweetdev.core.exception
Interface IFrameworkException

All Known Implementing Classes:
AbstractChainedException, CriticalException

public interface IFrameworkException

Interface for all the framework exception classes.

 

Method Summary
 java.lang.String getCurrentStack()
          Returns the current exception stack in string format
 java.lang.Throwable getOriginalException()
          Returns the initial exception that caused this TechnicalException.
 java.lang.String getOriginalMessage()
          Returns the original exception message
 java.lang.String getOriginalStack()
          Returns the original exception stack in string format
 java.util.List getParameters()
          Returns parameters List
 java.lang.Object[] getParametersObject()
          Returns parameters List
 java.lang.String getSender()
          Returns the exception sender
 java.lang.String getStackTraceString()
          Returns the stack trace in string format.
 

Method Detail

getOriginalException

public java.lang.Throwable getOriginalException()
Returns the initial exception that caused this TechnicalException.

Returns:
The initial exception or null if there is no initial exception.

getParameters

public java.util.List getParameters()
Returns parameters List

Returns:
List the parameters list

getParametersObject

public java.lang.Object[] getParametersObject()
Returns parameters List

Returns:
Object[] the parameters list

getOriginalMessage

public java.lang.String getOriginalMessage()
Returns the original exception message

Returns:
String

getOriginalStack

public java.lang.String getOriginalStack()
Returns the original exception stack in string format

Returns:
String

getCurrentStack

public java.lang.String getCurrentStack()
Returns the current exception stack in string format

Returns:
String

getStackTraceString

public java.lang.String getStackTraceString()
Returns the stack trace in string format. The string will contain the stack of the original and the last exception

Returns:
String

getSender

public java.lang.String getSender()
Returns the exception sender

Returns:
String