notio
Class TranslationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--notio.OperationException
                    |
                    +--notio.TranslationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
GeneratorException, ParserException

public class TranslationException
extends OperationException

The base class for all exceptions thrown during translation (parsing or generating). Contains fields for translation-specific details.

See Also:
Serialized Form

Constructor Summary
TranslationException(java.lang.String message)
          Constructs an exception with the specified message.
TranslationException(java.lang.String message, java.lang.Throwable newSubThrowable)
          Constructs an exception with the specified message and sub-throwable.
 
Methods inherited from class notio.OperationException
getSubThrowable, setSubThrowable
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TranslationException

public TranslationException(java.lang.String message)
Constructs an exception with the specified message.
Parameters:
message - The details of the exception.

TranslationException

public TranslationException(java.lang.String message,
                            java.lang.Throwable newSubThrowable)
Constructs an exception with the specified message and sub-throwable.
Parameters:
message - the details of the exception.
newSubThrowable - the sub-throwable to be embedded in this exception.


Copyright 1998-2001 Finnegan Southey