jaitools.jiffle
Class JiffleException

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

public class JiffleException
extends Exception

Exception class for errors encountered while compiling a script

Since:
1.0
Version:
$Id: JiffleException.java 1473 2011-02-28 10:30:48Z michael.bedward $
Author:
Michael Bedward
See Also:
Serialized Form

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

Parameters:
thrwbl - incoming exception

JiffleException

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

Parameters:
msg - error message

JiffleException

public JiffleException(List<String> errors)
Creates a new instance with the given list of messages. This is used by Jiffle to take parsing error messages from jaitools.jiffle.parser.ErrorReporter objects.

Parameters:
errors - list of error messages

JiffleException

public JiffleException(String string,
                       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 © 2009-2011. All Rights Reserved.