Package ej.sni

Class NativeIOException

    • Constructor Detail

      • NativeIOException

        public NativeIOException​(int errorCode,
                                 String errorMessage)
        Constructs a new NativeIOException with the specified error code and detail message.
        Parameters:
        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.
      • NativeIOException

        public NativeIOException​(int errorCode,
                                 String errorMessage,
                                 @Nullable
                                 Throwable cause)
        Constructs a new NativeIOException with the specified error code, detail message and cause.
        Parameters:
        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.)