com.waveset.util
Class ProcessException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.waveset.util.ProcessException
All Implemented Interfaces:
java.io.Serializable

public class ProcessException
extends java.lang.RuntimeException

See Also:
Serialized Form

Field Summary
static int ERR_ACCESS
           
static int ERR_DISABLED_USR
           
static int ERR_INVALID
           
static int ERR_INVALID_PWD
           
static int ERR_IO
           
static int ERR_NONE
           
 
Constructor Summary
ProcessException(int err)
          Constructs a new runtime exception with null as its detail message.
ProcessException(java.lang.Throwable cause)
          Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
 
Method Summary
 int getError()
          Returns the error code set in 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

ERR_NONE

public static final int ERR_NONE
See Also:
Constant Field Values

ERR_IO

public static final int ERR_IO
See Also:
Constant Field Values

ERR_ACCESS

public static final int ERR_ACCESS
See Also:
Constant Field Values

ERR_INVALID

public static final int ERR_INVALID
See Also:
Constant Field Values

ERR_INVALID_PWD

public static final int ERR_INVALID_PWD
See Also:
Constant Field Values

ERR_DISABLED_USR

public static final int ERR_DISABLED_USR
See Also:
Constant Field Values
Constructor Detail

ProcessException

public ProcessException(int err)
Constructs a new runtime exception with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).


ProcessException

public ProcessException(java.lang.Throwable cause)
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for runtime exceptions that are little more than wrappers for other throwables.

Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
Since:
1.4
Method Detail

getError

public int getError()
Returns the error code set in the exception.