org.talika.tarsis.error
Class SystemException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.talika.tarsis.error.SystemException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ConfigException, ServiceException

public class SystemException
extends java.lang.Exception

Thrown by the Tarsis MVC Framework to indicate an unrecoverable system error.

Version:
$Revision: 114 $
Author:
Jose M. Palomar
See Also:
Serialized Form

Constructor Summary
SystemException(java.lang.String msg)
          Constructs a new SystemException with given message and cause.
SystemException(java.lang.String msg, java.lang.Throwable rootCause)
          Constructs a new SystemException with given message and cause.
 
Method Summary
 java.lang.Throwable getRootCause()
          Returns root exception.
 
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

SystemException

public SystemException(java.lang.String msg)
Constructs a new SystemException with given message and cause.

Parameters:
msg - String text of the exception message.

SystemException

public SystemException(java.lang.String msg,
                       java.lang.Throwable rootCause)
Constructs a new SystemException with given message and cause.

Parameters:
msg - String text of the exception message.
rootCause - Throwable the Throwable exception that caused this exception.
Method Detail

getRootCause

public final java.lang.Throwable getRootCause()
Returns root exception.

Returns:
Throwable root exception or null if none.


Copyright © 2002-2012 Talika Open Source Group. All Rights Reserved.