Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.voytechs.jnetstream.npl
Class NodeException  view NodeException download NodeException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.voytechs.jnetstream.npl.NodeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AssertFailure, BreakLoopSignal, ContinueLoopSignal, PropertyResizeSignal, SnaplenLimitException

public class NodeException
extends java.lang.Exception


Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private static boolean debug
           
private  Node node
           
private  Token token
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
NodeException(java.lang.String msg)
           
NodeException(java.lang.String msg, Node node)
           
NodeException(java.lang.String msg, Token token)
           
 
Method Summary
 int getLineNumber()
           
 Token getToken()
           
static void main(java.lang.String[] args)
          Test function for NodeException
 java.lang.String toString()
          Get a human-readable representation of this Throwable.
 
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

debug

private static final boolean debug
See Also:
Constant Field Values

node

private Node node

token

private Token token
Constructor Detail

NodeException

public NodeException(java.lang.String msg)

NodeException

public NodeException(java.lang.String msg,
                     Node node)

NodeException

public NodeException(java.lang.String msg,
                     Token token)
Method Detail

toString

public java.lang.String toString()
Description copied from class: java.lang.Throwable
Get a human-readable representation of this Throwable. The detail message is retrieved by getLocalizedMessage(). Then, with a null detail message, this string is simply the object's class name; otherwise the string is getClass().getName() + ": " + message.


getLineNumber

public int getLineNumber()

getToken

public Token getToken()

main

public static void main(java.lang.String[] args)
Test function for NodeException