org.extex.ocpware.exception
Class OcpException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.extex.ocpware.exception.OcpException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AliasDefinedException, AliasNotDefinedException, CharacterOutOfRangeException, IllegalOpCodeException, IllegalPcException, IllegalStateException, IllegalTableException, IllegalTableItemException, MissingExpressionsException, OcpEmptyStackException, OcpLineOverflowException, OcpLineUnderflowException, StateDefinedException, StateNotDefinedException, SyntaxException, TableDefinedException, TableNotDefinedException, UnsupportedOutputException

public class OcpException
extends java.io.IOException

This exception is a base class for Exceptions thrown within the ΩCP engine. It is derived from IOException since this is the only exception thrown by the read() method of a reader.

Version:
$Revision: 6019 $
Author:
Gerd Neugebauer
See Also:
Serialized Form

Constructor Summary
OcpException(java.lang.String s)
          Creates a new object.
 
Method Summary
 java.lang.String getLocalizedMessage()
          
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

OcpException

public OcpException(java.lang.String s)
Creates a new object.

Parameters:
s - the name of the state
Method Detail

getLocalizedMessage

public java.lang.String getLocalizedMessage()

Overrides:
getLocalizedMessage in class java.lang.Throwable
See Also:
Throwable.getLocalizedMessage()