org.openxava.util
Class SystemException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.openxava.util.SystemException
All Implemented Interfaces:
java.io.Serializable

public class SystemException
extends java.lang.RuntimeException

RuntimeException to be thrown by a business method when a system level problem is produced.

A system level exception can be a problem with JDBC, the JPA persistence manager, JNDI, RMI, net communication, hardware or any other problem not related directly with the business logic associated to the method.

This exception is a facility, you can use whatever runtime exception you prefer for indicate a system exception.

Author:
Javier Paniza
See Also:
Serialized Form

Constructor Summary
SystemException()
           
SystemException(java.rmi.RemoteException cause)
           
SystemException(java.lang.String message)
           
SystemException(java.lang.String message, java.lang.Throwable cause)
           
SystemException(java.lang.Throwable cause)
           
 
Method Summary
 
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()

SystemException

public SystemException(java.lang.String message,
                       java.lang.Throwable cause)

SystemException

public SystemException(java.lang.String message)

SystemException

public SystemException(java.lang.Throwable cause)

SystemException

public SystemException(java.rmi.RemoteException cause)