net.sf.jzeno.exception
Class ManagedRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.jzeno.exception.ManagedRuntimeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DeadlockException, IntegrityViolationException, InternalServerException, LexerException, NavigationErrorException, OptimisticLockException, ParseException

public class ManagedRuntimeException
extends java.lang.RuntimeException

Base class for all runtime exceptions in jzeno. Implements automatic logging of the exception.

See Also:
Serialized Form

Constructor Summary
ManagedRuntimeException()
           
ManagedRuntimeException(java.lang.String message)
           
ManagedRuntimeException(java.lang.String message, java.lang.Throwable cause)
           
ManagedRuntimeException(java.lang.Throwable cause)
           
 
Method Summary
static boolean causedByManagedException(java.lang.Throwable t)
           
 
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

ManagedRuntimeException

public ManagedRuntimeException()

ManagedRuntimeException

public ManagedRuntimeException(java.lang.String message)

ManagedRuntimeException

public ManagedRuntimeException(java.lang.Throwable cause)

ManagedRuntimeException

public ManagedRuntimeException(java.lang.String message,
                               java.lang.Throwable cause)
Method Detail

causedByManagedException

public static boolean causedByManagedException(java.lang.Throwable t)