autohit.server.service
Class ServiceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byautohit.common.AutohitException
              extended byautohit.vm.VMException
                  extended byautohit.server.service.ServiceException
All Implemented Interfaces:
AutohitErrorCodes, java.io.Serializable

public class ServiceException
extends VMException

A Service exception. The specific error is given in the numeric field.

Version:
1.0 Version History EPG - Rewrite - 15Sep03
Author:
Erich P. Gatejen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class autohit.common.AutohitException
AUTOHIT_EXCEPTION_GENERIC, numeric
 
Fields inherited from interface autohit.common.AutohitErrorCodes
CODE_CALL_ERROR, CODE_CALL_FAULT, CODE_CALL_INTENTIONAL_FAULT, CODE_CALL_MODULE_CANT_LOAD_FAULT, CODE_CALL_PERSISTMISMATCH_FAULT, CODE_CALL_PERSISTNOTFOUND_FAULT, CODE_CALL_PROGRAM_ERROR, CODE_CALL_PUBLIC_ERROR, CODE_CALL_REPORTED_ERROR, CODE_CALL_REQUIRED_PARAM_CLASSMISMATCH_FAULT, CODE_CALL_REQUIRED_PARAM_MISSING_FAULT, CODE_CALL_UNRECOVERABLE_FAULT, CODE_CATASTROPHIC_FRAMEWORK_FAULT, CODE_CHANNEL_ALREADY_EXISTS_ERROR, CODE_CHANNEL_BAD_CONTROLLER_FAULT, CODE_CHANNEL_BAD_PRIORITY_LEVEL_ERROR, CODE_CHANNEL_DOESNT_EXIST_ERROR, CODE_CHANNEL_DRAIN_GENERAL_FAULT, CODE_CHANNEL_DRAIN_INVALID_ERROR, CODE_CHANNEL_DRAIN_REQUIRES_ID_ERROR, CODE_CHANNEL_ERROR, CODE_CHANNEL_FAULT, CODE_CHANNEL_INJECTOR_INVALID_ERROR, CODE_CHANNEL_INTERRUPTED, CODE_CHANNEL_PANIC, CODE_COMMAND_ERROR, CODE_COMMAND_FAULT, CODE_COMMAND_METHOD_NOT_SUPPORTED, CODE_COMMAND_REGISTRY_FAULT, CODE_COMMAND_UNKNOWN, CODE_COMPILE_ABORT, CODE_COMPILE_CONFIGURATION_FAULT, CODE_COMPILE_ERROR, CODE_COMPILE_WARNING, CODE_CONFIGURATION_ERROR, CODE_DEBUGGING, CODE_DEBUGGING_CALLS, CODE_DEBUGGING_CORE, CODE_DEBUGGING_MODULES, CODE_DEBUGGING_PUBLIC, CODE_DEBUGGING_SERVICES, CODE_DEBUGGING_SYSTEM, CODE_DEFAULT, CODE_DEFAULT_ERROR, CODE_DEFAULT_FAULT, CODE_DEFAULT_PANIC, CODE_DEFAULT_WARNING, CODE_INFORMATIONAL_OK, CODE_INFORMATIONAL_OK_VERBOSE, CODE_MODULE_FAULT, CODE_MODULE_REPORTED_ERROR, CODE_MODULE_REPORTED_INFO_OK, CODE_MODULE_REPORTED_WARNING, CODE_NONE, CODE_OBJECT_DOES_NOT_EXIST, CODE_PROGRAM_DIVIDEBYZERO, CODE_PROGRAM_ERROR, CODE_SERVER_BAD_CONTEXT_FAULT, CODE_SERVER_DONE, CODE_SERVER_ERROR, CODE_SERVER_FAULT, CODE_SERVER_IO_ERROR, CODE_SERVER_PANIC, CODE_SERVICE_GENERAL_FAULT, CODE_SERVICE_GENERIC_ERROR, CODE_SERVICE_INTENTIONAL_HALT, CODE_SERVICE_PANIC, CODE_SERVICE_STARTUP_FAULT, CODE_STARTUP_ABORT, CODE_STARTUP_CONFIGURATION_FAULT, CODE_STARTUP_FAULT, CODE_SW_DETECTED_FAULT, CODE_SYSTEM_GENERIC_ERROR, CODE_SYSTEM_TELLIO_BROKEN_PROTOCOL, CODE_UNIVERSE_ERROR, CODE_USER_INFO_FLOOR, CODE_USER_INFO_TOP, CODE_VM_CALL_FAULT, CODE_VM_CORE_DOESNT_EXIST_FAULT, CODE_VM_CORE_FAILED_CONTROL_FAULT, CODE_VM_CORE_FAILED_RETRIEVAL_FAULT, CODE_VM_CORE_FAILED_STORE_FAULT, CODE_VM_CORE_GENERAL_FAULT, CODE_VM_DONE, CODE_VM_EXEC_DOES_NOT_EXIST_FAULT, CODE_VM_EXEC_FAULT, CODE_VM_GENERAL_FAULT, CODE_VM_GENERIC_ERROR, CODE_VM_INSTRUCTION_ABORT, CODE_VM_INSTRUCTION_ERROR, CODE_VM_INSTRUCTION_FAULT, CODE_VM_INSTRUCTION_WARNING, CODE_VM_INTENTIONAL_FAULT, CODE_VM_INVALID_INSTRUCTION_FAULT, CODE_VM_OBJECT_LOCKED_FAULT, CODE_VM_PANIC, CODE_VM_PREPARE_FAULT, CODE_VM_PROCESSOR_ERROR, CODE_VM_PROCESSOR_ERROR_NOTFOUND, CODE_VM_PROCESSOR_ERROR_UNBOUNDED, CODE_VM_PROCESSOR_FAULT, CODE_VM_ROUTINE_BREAKING_FAULT, CODE_VM_SOFTWARE_DETECTED_FAULT, CODE_VM_SUBSYSTEM_FAULT, CODE_VM_VARIABLE_NOT_DEFINED_FAULT, CODE_VM_VARIABLE_TYPE_MISMATCH_ERROR, ERROR, EVENT_COMMAND_ACCEPTED, EVENT_COMMAND_COMPLELTED, EVENT_COMMAND_FAILED, EVENT_COMMAND_FAULTED, EVENT_COMMAND_FINAL_RESULTS, EVENT_COMMAND_PANICED, EVENT_COMMAND_PARTIAL_RESULTS, EVENT_COMMAND_REJECTED, FAULT, FLOOR_NUMERIC, INFORMATIONAL, PANIC, TOP_CODE_CALL_ERROR, TOP_CODE_UNIVERSE_ERROR, TOP_NUMERIC, WARNING
 
Constructor Summary
ServiceException()
          Default Constructor.
ServiceException(int n)
          Message constructor
ServiceException(int n, java.lang.Throwable theCause)
          Message constructor with cause
ServiceException(java.lang.String message)
          Message constructor
ServiceException(java.lang.String message, int n)
          Message constructor
ServiceException(java.lang.String message, int n, java.lang.Throwable theCause)
          Message constructor with cause
ServiceException(java.lang.String message, java.lang.Throwable theCause)
          Message constructor with cause
 
Methods inherited from class autohit.common.AutohitException
isError, isFault, isInformational, isPanic, isWarning
 
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
 

Constructor Detail

ServiceException

public ServiceException()
Default Constructor.


ServiceException

public ServiceException(java.lang.String message)
Message constructor

Parameters:
message - text message for exception

ServiceException

public ServiceException(int n)
Message constructor

Parameters:
n - numeric error

ServiceException

public ServiceException(java.lang.String message,
                        int n)
Message constructor

Parameters:
message - text message for exception
n - numeric error

ServiceException

public ServiceException(java.lang.String message,
                        java.lang.Throwable theCause)
Message constructor with cause

Parameters:
message - text message for exception
theCause - for exception chaining

ServiceException

public ServiceException(int n,
                        java.lang.Throwable theCause)
Message constructor with cause

Parameters:
n - numeric error
theCause - for exception chaining

ServiceException

public ServiceException(java.lang.String message,
                        int n,
                        java.lang.Throwable theCause)
Message constructor with cause

Parameters:
message - text message for exception
n - numeric error
theCause - for exception chaining


Test.