org.jwall.web.audit
Class SyntaxException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jwall.web.audit.SyntaxException
All Implemented Interfaces:
java.io.Serializable

public class SyntaxException
extends java.lang.Exception

This exception is thrown whenever a syntax-error occurs.

Author:
Christian Bockermann <chris@jwall.org>
See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Constructor Summary
SyntaxException(java.lang.String m)
          Creates a SyntaxException with the given message.
SyntaxException(java.lang.String m, int ln)
           
 
Method Summary
 int getLineNumber()
           
 java.lang.String getMessage()
           
 void setLineNumber(int i)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

SyntaxException

public SyntaxException(java.lang.String m)
Creates a SyntaxException with the given message.

Parameters:
m -

SyntaxException

public SyntaxException(java.lang.String m,
                       int ln)
Method Detail

setLineNumber

public void setLineNumber(int i)

getLineNumber

public int getLineNumber()

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable