public class WinsockNetBIOSException extends IOException
Contains the Winsock error code from the failed Winsock call.
Constructor and Description |
---|
WinsockNetBIOSException()
Default constructor
|
WinsockNetBIOSException(int sts)
Class constructor
|
WinsockNetBIOSException(String msg)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Return the Winsock error code
|
String |
getMessage()
Return the error message string
|
void |
setErrorCode(int sts)
Set the error code
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WinsockNetBIOSException()
public WinsockNetBIOSException(String msg)
msg
- Stringpublic WinsockNetBIOSException(int sts)
sts
- intpublic final int getErrorCode()
public final void setErrorCode(int sts)
sts
- intpublic String getMessage()
getMessage
in class Throwable
Copyright © 2005–2018 Alfresco Software. All rights reserved.