Enhydra 5.1 API

org.enhydra.tool.codegen
Class GeneratorException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.enhydra.tool.common.ToolException
                    |
                    +--org.enhydra.tool.codegen.GeneratorException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ValidationException

public class GeneratorException
extends ToolException

The GeneratorException is thrown when generation could not be completed or when setting invalid values for genertion options.

See Also:
Serialized Form

Constructor Summary
GeneratorException(java.lang.String message)
          Create a GeneratorException with a specified error message.
GeneratorException(java.lang.Throwable chain, java.lang.String message)
          Create a GeneratorException linked to a parent exception.
 
Methods inherited from class org.enhydra.tool.common.ToolException
getMessage, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, 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(java.lang.String message)
Create a GeneratorException with a specified error message.

Parameters:
message - Message providing information on the nature of the exception.

GeneratorException

public GeneratorException(java.lang.Throwable chain,
                          java.lang.String message)
Create a GeneratorException linked to a parent exception.

Parameters:
chain - Parent exception to include in stack trace.
message - Message providing information on the nature of the exception.

Enhydra 5.1 API