org.spicefactory.pimento.generator
Class GeneratorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.spicefactory.pimento.generator.GeneratorException
All Implemented Interfaces:
Serializable

public class GeneratorException
extends RuntimeException

Exception thrown for any error condition during configuration or source generation.

Author:
Jens Halm
See Also:
Serialized Form

Constructor Summary
GeneratorException(String message)
          Creates a new GeneratorException.
GeneratorException(String message, Throwable cause)
          Creates a new GeneratorException.
 
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

GeneratorException

public GeneratorException(String message,
                          Throwable cause)
Creates a new GeneratorException.

Parameters:
message - the error message
cause - the cause of the error

GeneratorException

public GeneratorException(String message)
Creates a new GeneratorException.

Parameters:
message - the error message