Class DirPoll.DirPollException

All Implemented Interfaces:
Serializable, Loggeable
Enclosing class:
DirPoll

public static class DirPoll.DirPollException extends ISOException
Exception thrown by DirPoll.Processor or DirPoll.FileProcessor to signal a processing error.
Since:
jPOS 1.2.7
See Also:
  • Constructor Details

    • DirPollException

      Default constructor.
    • DirPollException

      public DirPollException(String detail)
      Constructs a DirPollException with the given message.
      Parameters:
      detail - the error message
    • DirPollException

      public DirPollException(Exception nested)
      Constructs a DirPollException wrapping the given exception.
      Parameters:
      nested - the nested exception
    • DirPollException

      public DirPollException(String detail, Exception nested)
      Constructs a DirPollException with a message and nested exception.
      Parameters:
      detail - the error message
      nested - the nested exception
  • Method Details

    • isRetry

      public boolean isRetry()
      Returns whether the failed request should be retried.
      Returns:
      true if retry is requested
    • setRetry

      public void setRetry(boolean retry)
      Sets whether the failed request should be retried.
      Parameters:
      retry - true to retry, false to move to bad directory