org.openejb
Class SystemException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.openejb.OpenEJBException
              extended by org.openejb.SystemException
All Implemented Interfaces:
java.io.Serializable

public class SystemException
extends OpenEJBException

This exception is thrown when the container has encountered an unresolvable system exception that make this Container unable to process requests. A breakdown in communication with one of the primary services or a RuntimeException thrown within the container (not by a bean) is are good examples. The org.openejb.SystemException represents a serious problem with the Container. The Container should be shut down and not used for any more processing. NOTE: This exception bears no resemblence to the unchecked exceptions and errors that an enterprise bean instance may throw during the execution of a session or entity bean business method, a message-driven bean onMessage method, or a container callback method (e.g. ejbLoad). See InvalidateReferenceException for this.

Author:
Richard Monson-Haefel, David Blevins, Brett McLaughlin
See Also:
ApplicationException, InvalidateReferenceException, OpenEJBException, SystemException, Serialized Form

Constructor Summary
SystemException()
          Constructs an empty SystemException instance.
SystemException(java.lang.String message)
          Constructs a SystemException with the specified message indicating the source of the problem that occurred.
SystemException(java.lang.String message, java.lang.Throwable rootCause)
          Constructs a SystemException with the specified message indicating the source of the problem that occurred and the original "root cause" exception that was thrown when the problem occurred.
SystemException(java.lang.Throwable rootCause)
          Constructs a SystemException with the source of the problem that occurred.
 
Method Summary
 
Methods inherited from class org.openejb.OpenEJBException
getMessage, getRootCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SystemException

public SystemException()
Constructs an empty SystemException instance.


SystemException

public SystemException(java.lang.String message)
Constructs a SystemException with the specified message indicating the source of the problem that occurred.

Parameters:
message - String identifying the source of the problem.

SystemException

public SystemException(java.lang.Throwable rootCause)
Constructs a SystemException with the source of the problem that occurred.

Parameters:
rootCause - Throwable root cause of problem.

SystemException

public SystemException(java.lang.String message,
                       java.lang.Throwable rootCause)
Constructs a SystemException with the specified message indicating the source of the problem that occurred and the original "root cause" exception that was thrown when the problem occurred.

Parameters:
message - String identifying the source of the problem.
rootCause - Throwable root cause of problem.


Copyright © 1999-2011 OpenEJB. All Rights Reserved.