org.ontonym.logan
Class LoganException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.ontonym.logan.LoganException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GraphNodeValidationException, JessRuntimeException, QuadValidationException, RuleLoaderException

public class LoganException
extends RuntimeException

The base class for all exceptions defined by Logan.

Author:
Graeme Stevenson (graeme@ontonym.org).
See Also:
Serialized Form

Constructor Summary
LoganException(String a_message)
          Creates a new exception with a given message.
LoganException(String a_message, Throwable a_throwable)
          Creates a new exception to wrap a Throwable.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoganException

public LoganException(String a_message)
Creates a new exception with a given message.

Parameters:
a_message - the error message associated with this exception.

LoganException

public LoganException(String a_message,
                      Throwable a_throwable)
Creates a new exception to wrap a Throwable.

Parameters:
a_message - the error message associated with this exception.
a_throwable - the Throwable to wrap.


Copyright © 2010 Graeme Stevenson.