Class ValidationErrorHandler

    • Field Detail

      • packet

        protected Packet packet
    • Constructor Detail

      • ValidationErrorHandler

        public ValidationErrorHandler()
    • Method Detail

      • setPacket

        public void setPacket​(Packet packet)
        Use it to communicate validation errors with the application. For e.g validation exceptions can be stored in Packet.invocationProperties during request processing and can be accessed in the endpoint via MessageContext
        Parameters:
        packet - for request or response message