Class NotOpenException

    • Constructor Detail

      • NotOpenException

        public NotOpenException()
        Constructs a NotOpenException with no detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.
      • NotOpenException

        public NotOpenException​(String msg)
        Constructs a NotOpenException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.
        Parameters:
        msg - the detail message
      • NotOpenException

        public NotOpenException​(Throwable cause)
        Constructs a NotOpenException with the specified cause. The detail message is set to:
        (cause == null ? null : cause.toString())
        (which typically contains the class and detail message of cause).
        Parameters:
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)
      • NotOpenException

        public NotOpenException​(String msg,
                                Throwable cause)
        Constructs a NotOpenException with the specified detail message and cause.
        Parameters:
        msg - the detail message
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)