Class ResultException

    • Constructor Detail

      • ResultException

        protected ResultException​(@NotNull
                                  @NotNull Error wsClientError,
                                  @Nullable
                                  @Nullable String errorMessage,
                                  int errorCode,
                                  @Nullable
                                  @Nullable String stackTraceMessage,
                                  @Nullable
                                  @Nullable Exception cause)

        Constructs a new ResultException with the given information.
        Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

        Parameters:
        wsClientError - The wsclient specific Error.
        errorCode - The numeric error code.
        errorMessage - The detail message (which is saved for later retrieval by the getMessage() method).
        stackTraceMessage - The (optional) stacktrace message.
        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.)