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

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

public class ExecutionException
extends java.lang.RuntimeException

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

Field Summary
static int ILLEGAL_ARGUMENTS
          Illegal Arguments
static int ILLEGAL_CAST
          Illegal type cast
static int ILLEGAL_FUNCTION
          Illegal Function
static int ILLEGAL_OPERATOR
          Illegal Operator
static int ILLEGAL_TYPE
          Illegal type
static int INTERNAL_ERROR
          Internal error
private static java.lang.String[] MSG
          Error messages
static int NO_ERROR
          No error
private static long serialVersionUID
          Serial Version UID
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ExecutionException(java.lang.Exception exception)
          Constructor
ExecutionException(Expression node, int code)
          Constructor
ExecutionException(Expression node, int code, java.lang.Object[] params)
          Constructor
ExecutionException(int code)
          Constructor
ExecutionException(java.lang.String message)
          Constructor
 
Method Summary
private static java.lang.String createMessage(java.lang.String pattern, Expression node, java.lang.Object[] params)
          Erzeugt einen benutzerlesbaren Fehlertext
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

NO_ERROR

public static final int NO_ERROR
No error

See Also:
Constant Field Values

INTERNAL_ERROR

public static final int INTERNAL_ERROR
Internal error

See Also:
Constant Field Values

ILLEGAL_OPERATOR

public static final int ILLEGAL_OPERATOR
Illegal Operator

See Also:
Constant Field Values

ILLEGAL_FUNCTION

public static final int ILLEGAL_FUNCTION
Illegal Function

See Also:
Constant Field Values

ILLEGAL_CAST

public static final int ILLEGAL_CAST
Illegal type cast

See Also:
Constant Field Values

ILLEGAL_TYPE

public static final int ILLEGAL_TYPE
Illegal type

See Also:
Constant Field Values

ILLEGAL_ARGUMENTS

public static final int ILLEGAL_ARGUMENTS
Illegal Arguments

See Also:
Constant Field Values

MSG

private static final java.lang.String[] MSG
Error messages

Constructor Detail

ExecutionException

public ExecutionException(java.lang.String message)
Constructor

Parameters:
message - the error message Fehlertext

ExecutionException

public ExecutionException(java.lang.Exception exception)
Constructor

Parameters:
exception - the nested exception

ExecutionException

public ExecutionException(int code)
Constructor

Parameters:
code - the error code

ExecutionException

public ExecutionException(Expression node,
                          int code)
Constructor

Parameters:
code - Der Fehlercode
node - Der Syntaxknoten in welchem der Fehler aufgetreten ist

ExecutionException

public ExecutionException(Expression node,
                          int code,
                          java.lang.Object[] params)
Constructor

Parameters:
node - Der Syntaxknoten in welchem der Fehler aufgetreten ist
code - Der Fehlercode
params - Parameterliste
Method Detail

createMessage

private static java.lang.String createMessage(java.lang.String pattern,
                                              Expression node,
                                              java.lang.Object[] params)
Erzeugt einen benutzerlesbaren Fehlertext

Parameters:
pattern - Fehlertext Pattern
node - Der Syntaxknoten in welchem der Fehler aufgetreten ist
params - Parameterliste
Returns:
Fehlertext


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