All Implemented Interfaces:
Serializable
Enclosing class:
InboundEstablishState2

static class InboundEstablishState2.RIExceptionextends DataFormatException
For throwing out of gotRI().
  • Constructor Details

    • RIException

      public RIException(String msg, int reason)
      Creates the RI exception.
      Parameters:
      msg - the detail message
      reason - the reason code reported by getReason()
    • RIException

      public RIException(String msg, int reason, Throwable t)
      Creates the RI exception.
      Parameters:
      msg - the detail message
      reason - the reason code reported by getReason()
      t - the cause of the rejection
  • Method Details

    • getReason

      public int getReason()
      Read the SessionCreated rejection code carried by this failure.
      Returns:
      the numeric reason code
    • getMessage

      public String getMessage()
      Build the detail message, prefixed with the numeric reason code.
      Overrides:
      getMessage in class Throwable
      Returns:
      the reason code followed by the underlying exception message