Class ScramServerException

    • Constructor Detail

      • ScramServerException

        public ScramServerException​(ScramServerErrorCode error)
        Constructs a new ScramServerException instance. The message is left blank (null), and no cause is specified.
        Parameters:
        error - the server error code
      • ScramServerException

        public ScramServerException​(String msg,
                                    ScramServerErrorCode error)
        Constructs a new ScramServerException instance with an initial message. No cause is specified.
        Parameters:
        msg - the message
        error - the server error code
      • ScramServerException

        public ScramServerException​(Throwable cause,
                                    ScramServerErrorCode error)
        Constructs a new ScramServerException instance with an initial cause. If a non-null cause is specified, its message is used to initialize the message of this ScramServerException; otherwise the message is left blank (null).
        Parameters:
        cause - the cause
        error - the server error code
      • ScramServerException

        public ScramServerException​(String msg,
                                    Throwable cause,
                                    ScramServerErrorCode error)
        Constructs a new ScramServerException instance with an initial message and cause.
        Parameters:
        msg - the message
        cause - the cause
        error - the server error code