public class WSASException extends Exception
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
Object |
getData() |
int |
getErrorCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WSASException()
public WSASException(String reason)
reason
- the reasonpublic WSASException(String reason, int errorcode)
reason
- the reasonerrorcode
- the error codepublic WSASException(String reason, Object obj)
public WSASException(Object obj)
public final int getErrorCode()
public final Object getData()
Copyright © 2017 JBoss by Red Hat. All rights reserved.