org.jaitools.jiffle
Class JiffleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jaitools.jiffle.JiffleException
All Implemented Interfaces:
java.io.Serializable

public class JiffleException
extends java.lang.Exception

Exception class for errors encountered while compiling a script or working with runtime objects.

Since:
0.1
Version:
$Id: JiffleException.java 1653 2011-06-16 10:23:02Z michael.bedward $
Author:
Michael Bedward
See Also:
Serialized Form

Constructor Summary
JiffleException(java.util.List<java.lang.String> errors)
          Creates a new instance with the given list of messages.
JiffleException(java.lang.String msg)
          Creates a new instance with the given message.
JiffleException(java.lang.String string, java.lang.Throwable thrwbl)
          Creates a new instance from the given message and base object.
JiffleException(java.lang.Throwable thrwbl)
          Create a new instance from an incoming exception.
 
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

JiffleException

public JiffleException(java.lang.Throwable thrwbl)
Create a new instance from an incoming exception.

Parameters:
thrwbl - incoming exception

JiffleException

public JiffleException(java.lang.String msg)
Creates a new instance with the given message.

Parameters:
msg - error message

JiffleException

public JiffleException(java.util.List<java.lang.String> errors)
Creates a new instance with the given list of messages.

Parameters:
errors - list of error messages

JiffleException

public JiffleException(java.lang.String string,
                       java.lang.Throwable thrwbl)
Creates a new instance from the given message and base object. This is used by Jiffle to wrap Janino exceptions.

Parameters:
string - error message
thrwbl - base Throwable object


Copyright © 2011. All Rights Reserved.