de.upb.swt.epctools.simulator.explicit
Class EPCSyntaxError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.upb.swt.epctools.simulator.explicit.EPCSyntaxError
All Implemented Interfaces:
java.io.Serializable

public class EPCSyntaxError
extends java.lang.Exception

Exception raised when the internal data structure of the EPC is built. The exception is raised, when the EPC model is syntactically incorrect.

Author:
Ekkart Kindler, kindler@upb.de
See Also:
Serialized Form

Field Summary
 Node node
          The node at which the syntax error was encountered.
private static long serialVersionUID
          Added by Eclipse semi-automatically
 
Constructor Summary
EPCSyntaxError(Node node)
          Constructs the exception for the given node.
 
Method Summary
 java.lang.String toString()
          Returns a textual representation of the parse error and the information on the offending token.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Added by Eclipse semi-automatically

See Also:
Constant Field Values

node

public Node node
The node at which the syntax error was encountered.

Constructor Detail

EPCSyntaxError

EPCSyntaxError(Node node)
Constructs the exception for the given node.

Parameters:
node - the syntactically incorrect node
Method Detail

toString

public java.lang.String toString()
Returns a textual representation of the parse error and the information on the offending token.

Overrides:
toString in class java.lang.Throwable