|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.arjuna.mw.wsas.exceptions.WSASException
public class WSASException
This is the base class from which all WSAS related exceptions inherit. It provides several kinds of additional information: (i) a string describing the error. (ii) an integer code for the error.
Constructor Summary | |
---|---|
WSASException()
Constructs a WSASException object; reason defaults to null and errorcode defaults to 0. |
|
WSASException(Object obj)
Constructs a WSASException object with the specified object. |
|
WSASException(String reason)
Constructs a WSASException object with the specified reason. |
|
WSASException(String reason,
int errorcode)
Constructs a WSASException object with the specified reason and errorcode. |
|
WSASException(String reason,
Object obj)
Constructs a WSASException object with the specified reason and object. |
Method Summary | |
---|---|
Object |
getData()
|
int |
getErrorCode()
|
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 |
---|
public WSASException()
public WSASException(String reason)
public WSASException(String reason, int errorcode)
public WSASException(String reason, Object obj)
public WSASException(Object obj)
Method Detail |
---|
public final int getErrorCode()
public final Object getData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |