Class InvalidPayloadException

All Implemented Interfaces:
Serializable

public class InvalidPayloadException extends PdfferProducerException
An exception raised when the producer was given a payload that does not pass template validation.
See Also:
Serialized Form
  • Constructor Details

    • InvalidPayloadException

      public InvalidPayloadException(Object payload)
      Creates a new instance.
      Parameters:
      payload - the payload that fails validation
  • Method Details

    • getPayload

      public Object getPayload()
      Gets the payload that fails validation.
      Returns:
      the payload that fails validation