public class NativeIOException extends IOException
IOException subclass that may be thrown from an SNI native using
 SNI_throwNativeIOException() function.| Constructor and Description | 
|---|
| NativeIOException(int errorCode,
                 String errorMessage)Constructs a new  NativeIOExceptionwith the specified error code and detail
 message. | 
| NativeIOException(int errorCode,
                 String errorMessage,
                 Throwable cause)Constructs a new  NativeIOExceptionwith the specified error code, detail message and cause. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getErrorCode()Returns the error code of this  NativeIOException. | 
| String | getMessage()Returns the detail message string of this  NativeIOException. | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, toStringpublic NativeIOException(int errorCode,
                         String errorMessage)
NativeIOException with the specified error code and detail
 message.errorCode - the error code. The error code is saved for later retrieval by
 the getErrorCode() method.errorMessage - the detail message. The detail message is saved for later retrieval
 by the getMessage() method.public NativeIOException(int errorCode,
                         String errorMessage,
                         Throwable cause)
NativeIOException with the specified error code, detail message and cause.errorCode - the error code. The error code is saved for later retrieval by
 the getErrorCode() method.errorMessage - the detail message. The detail message is saved for later retrieval
 by the getMessage() method.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.)public String getMessage()
NativeIOException.getMessage in class ThrowableNativeIOException instance (which may be
         null).public int getErrorCode()
NativeIOException.NativeIOException instance.