com.cc.framework.security.acl.expr
Class SyntaxException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.cc.framework.common.FrameworkException
              extended bycom.cc.framework.security.acl.expr.SyntaxException
All Implemented Interfaces:
java.io.Serializable

public class SyntaxException
extends FrameworkException

Version:
$Revision: 1.2 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
static int CLOSING_PARANTHESES
          ')' expected
private  int code
          Error Code
static int END_OF_STREAM_EXPECTED
          end of stream expected
static int INVALID_PERMISSION
          invalid permission syntax
static int MISSING_OPERAND
          missing operand
static int NESTED_EXCEPTION
          nested exception
private  int pos
          Aktuelle Position
private static long serialVersionUID
          Serial Version UID
private  java.lang.String source
          Expression Sourcecode
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
SyntaxException(TokenStream stream, int errorCode)
          Konstruktor
SyntaxException(TokenStream stream, java.lang.Throwable cause)
          Konstruktor
 
Method Summary
 java.lang.String getMessage()
           
 
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

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

CLOSING_PARANTHESES

public static final int CLOSING_PARANTHESES
')' expected

See Also:
Constant Field Values

END_OF_STREAM_EXPECTED

public static final int END_OF_STREAM_EXPECTED
end of stream expected

See Also:
Constant Field Values

MISSING_OPERAND

public static final int MISSING_OPERAND
missing operand

See Also:
Constant Field Values

INVALID_PERMISSION

public static final int INVALID_PERMISSION
invalid permission syntax

See Also:
Constant Field Values

NESTED_EXCEPTION

public static final int NESTED_EXCEPTION
nested exception

See Also:
Constant Field Values

code

private int code
Error Code


source

private java.lang.String source
Expression Sourcecode


pos

private int pos
Aktuelle Position

Constructor Detail

SyntaxException

public SyntaxException(TokenStream stream,
                       int errorCode)
Konstruktor

Parameters:
stream - Der Eingabestream mit der aktuellen Position
errorCode - Der Fehlercode

SyntaxException

public SyntaxException(TokenStream stream,
                       java.lang.Throwable cause)
Konstruktor

Parameters:
stream - Der Eingabestream mit der aktuellen Position
cause - The exception cause
Method Detail

getMessage

public java.lang.String getMessage()
See Also:
Throwable.getMessage()


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.