Framework Professional Edition Package


org.mbs.services.device.abstractdriver
Class AbstractDriverException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.mbs.services.device.abstractdriver.AbstractDriverException
All Implemented Interfaces:
java.io.Serializable

public class AbstractDriverException
extends java.lang.Exception

Thrown when a problem occurs in base driver

Since:
$Date: 2004/05/31 12:57:39 $
Author:
Stoyan Zoubev
See Also:
Serialized Form

Field Summary
static int ACTION_NOT_ALLOWED
           
protected  int id
           
static int INPUT_ARG_OUT_OF_RANGE_ERROR
           
static int INVOCATION_TARGET_ERROR
           
static int META_DATA_XML_ERROR
           
static int METADATA_FORMAT_ERROR
           
static int MODEL_ERROR
           
static int NO_SUCH_ACTION
           
static int UNKNOWN
           
static int WRONG_INPUT_ARG_TYPE
           
static int WRONG_NUMBER_OF_ARGS
           
 
Constructor Summary
AbstractDriverException(int id)
          Construct a ApplicationException with identification number
AbstractDriverException(int id, java.lang.String message)
          Construct a ApplicationException with identification number and nessage String
 
Method Summary
 int getID()
          Return an identification number of the exception
 
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

UNKNOWN

public static final int UNKNOWN
See Also:
Constant Field Values

META_DATA_XML_ERROR

public static final int META_DATA_XML_ERROR
See Also:
Constant Field Values

WRONG_NUMBER_OF_ARGS

public static final int WRONG_NUMBER_OF_ARGS
See Also:
Constant Field Values

NO_SUCH_ACTION

public static final int NO_SUCH_ACTION
See Also:
Constant Field Values

WRONG_INPUT_ARG_TYPE

public static final int WRONG_INPUT_ARG_TYPE
See Also:
Constant Field Values

INPUT_ARG_OUT_OF_RANGE_ERROR

public static final int INPUT_ARG_OUT_OF_RANGE_ERROR
See Also:
Constant Field Values

METADATA_FORMAT_ERROR

public static final int METADATA_FORMAT_ERROR
See Also:
Constant Field Values

INVOCATION_TARGET_ERROR

public static final int INVOCATION_TARGET_ERROR
See Also:
Constant Field Values

MODEL_ERROR

public static final int MODEL_ERROR
See Also:
Constant Field Values

ACTION_NOT_ALLOWED

public static final int ACTION_NOT_ALLOWED
See Also:
Constant Field Values

id

protected int id
Constructor Detail

AbstractDriverException

public AbstractDriverException(int id)
Construct a ApplicationException with identification number

Parameters:
id - identification number for the exeption

AbstractDriverException

public AbstractDriverException(int id,
                               java.lang.String message)
Construct a ApplicationException with identification number and nessage String

Parameters:
id - identification number for the exeption
message - message describing the cause for the exeption
Method Detail

getID

public int getID()
Return an identification number of the exception

Returns:
an identification number of the exception

Framework Professional Edition Package


Copyright © 1999-2007 ProSyst Software GmbH. All Rights Reserved