org.intamap.generators
Class GeneratorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.intamap.generators.GeneratorException
All Implemented Interfaces:
Serializable

public class GeneratorException
extends Exception

Models an exception thrown during generating from a response.

Author:
Richard Jones
See Also:
Serialized Form

Constructor Summary
GeneratorException()
          Creates an empty generator exception.
GeneratorException(String message)
          Creates a generator exception with the given message.
 
Method Summary
 String getMessage()
          Returns the message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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()
Creates an empty generator exception.


GeneratorException

public GeneratorException(String message)
Creates a generator exception with the given message.

Parameters:
message - the message
Method Detail

getMessage

public String getMessage()
Returns the message.

Overrides:
getMessage in class Throwable
Returns:
the message;