Class 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
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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)