obixserver.core
Class ObixserverException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by obixserver.core.ObixserverException
All Implemented Interfaces:
Serializable

public class ObixserverException
extends RuntimeException

Exception used for generic error processing within the server.

See Also:
Serialized Form

Field Summary
static int ERROR_400_BAD_REQUEST
           
static int ERROR_405_METHOD_NOT_ALLOWED
           
static int ERROR_INCORRECT_CONTRACT
           
static int ERROR_INITIALIZATION_FAILED
           
static int ERROR_MODULE_MISCONFIGURED
           
static int ERROR_REMOTE_MODULE_INVOCATION
           
static int ERROR_REQUEST_PROCESSING
           
static int ERROR_SERVER_INIT_FAILED
           
static int ERROR_SHUTDOWN_FAILED
           
static int ERROR_STOP_FAILED
           
static int ERROR_UNSUPPORTED_CONTRACT
           
static int ERROR_UNSUPPORTED_OPERATION_FOR_CONTRACT
           
static int ERROR_UNSUPPORTED_OPERATION_FOR_OBJ
           
private  int resultCode
           
private static long serialVersionUID
           
 
Constructor Summary
ObixserverException(int resultCode, String msg)
           
ObixserverException(int resultCode, String msg, Throwable rootCause)
           
ObixserverException(int resultCode, Throwable rootCause)
           
 
Method Summary
 int getResultCode()
           
 
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
See Also:
Constant Field Values

ERROR_INITIALIZATION_FAILED

public static final int ERROR_INITIALIZATION_FAILED
See Also:
Constant Field Values

ERROR_SHUTDOWN_FAILED

public static final int ERROR_SHUTDOWN_FAILED
See Also:
Constant Field Values

ERROR_STOP_FAILED

public static final int ERROR_STOP_FAILED
See Also:
Constant Field Values

ERROR_SERVER_INIT_FAILED

public static final int ERROR_SERVER_INIT_FAILED
See Also:
Constant Field Values

ERROR_MODULE_MISCONFIGURED

public static final int ERROR_MODULE_MISCONFIGURED
See Also:
Constant Field Values

ERROR_INCORRECT_CONTRACT

public static final int ERROR_INCORRECT_CONTRACT
See Also:
Constant Field Values

ERROR_UNSUPPORTED_CONTRACT

public static final int ERROR_UNSUPPORTED_CONTRACT
See Also:
Constant Field Values

ERROR_UNSUPPORTED_OPERATION_FOR_CONTRACT

public static final int ERROR_UNSUPPORTED_OPERATION_FOR_CONTRACT
See Also:
Constant Field Values

ERROR_UNSUPPORTED_OPERATION_FOR_OBJ

public static final int ERROR_UNSUPPORTED_OPERATION_FOR_OBJ
See Also:
Constant Field Values

ERROR_REQUEST_PROCESSING

public static final int ERROR_REQUEST_PROCESSING
See Also:
Constant Field Values

ERROR_405_METHOD_NOT_ALLOWED

public static final int ERROR_405_METHOD_NOT_ALLOWED
See Also:
Constant Field Values

ERROR_400_BAD_REQUEST

public static final int ERROR_400_BAD_REQUEST
See Also:
Constant Field Values

ERROR_REMOTE_MODULE_INVOCATION

public static final int ERROR_REMOTE_MODULE_INVOCATION
See Also:
Constant Field Values

resultCode

private int resultCode
Constructor Detail

ObixserverException

public ObixserverException(int resultCode,
                           String msg)

ObixserverException

public ObixserverException(int resultCode,
                           String msg,
                           Throwable rootCause)

ObixserverException

public ObixserverException(int resultCode,
                           Throwable rootCause)
Method Detail

getResultCode

public int getResultCode()


Copyright © 2006-2008 Peter Michalek All Rights Reserved.