public class WorkContextException extends WorkException
| Constructor and Description |
|---|
WorkContextException()
Default Constructor
|
WorkContextException(java.lang.String message)
Constructor with message.
|
WorkContextException(java.lang.String serv,
int typ)
This constructs the exception.
|
WorkContextException(java.lang.String serv,
int typ,
java.lang.Throwable cause)
This constructs the exception.
|
WorkContextException(java.lang.String message,
java.lang.Throwable cause)
Constructor with message and cause
|
WorkContextException(java.lang.Throwable cause)
Constructor with the cause
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getService()
This returns the name of the service causing the problem.
|
int |
getType()
This returns whether the problem was pushing or popping
the service.
|
public static final int BAD_PUSH
public static final int BAD_POP
public WorkContextException()
public WorkContextException(java.lang.String message)
message - public WorkContextException(java.lang.Throwable cause)
cause - public WorkContextException(java.lang.String message,
java.lang.Throwable cause)
message - cause - public WorkContextException(java.lang.String serv,
int typ)
serv - The service with the problem.typ - BAD_PUSH or BAD_POPpublic WorkContextException(java.lang.String serv,
int typ,
java.lang.Throwable cause)
serv - The service with the problem.typ - BAD_PUSH or BAD_POPcause - the cause of the exception