Class ThrowableContainerPropertySet

  • All Implemented Interfaces:
    PropertySet

    public class ThrowableContainerPropertySet
    extends BasePropertySet
    When using Dispatch<Packet> and the invocation completes with a Throwable, it is useful to be able to inspect the Packet in addition to the Throwable as the Packet contains meta-data about the request and/or response. However, the default behavior is that the caller only receives the Throwable. This PropertySet is part of the implementation that allows a completing Fiber to return the Throwable to the caller as part of the Packet.
    • Constructor Detail

      • ThrowableContainerPropertySet

        public ThrowableContainerPropertySet​(Throwable throwable)
    • Method Detail

      • getThrowable

        public Throwable getThrowable()
      • setThrowable

        public void setThrowable​(Throwable throwable)
      • getFaultMessage

        public Message getFaultMessage()
      • setFaultMessage

        public void setFaultMessage​(Message faultMessage)
      • getResponsePacket

        public Packet getResponsePacket()
      • setResponsePacket

        public void setResponsePacket​(Packet responsePacket)
      • isFaultCreated

        public boolean isFaultCreated()
      • setFaultCreated

        public void setFaultCreated​(boolean isFaultCreated)