Package com.pd4ml

Class InvokeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvokeException
    extends java.lang.RuntimeException
    Thrown when the PD4ML API is used incorrectly: an invalid argument, or a method called at the wrong time (for example a configuration method after readHTML(...), or a write... method before it). An unchecked exception, as it indicates a programming error.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      InvokeException​(java.lang.String message)
      Creates the exception.
      InvokeException​(java.lang.Throwable e)
      Creates the exception for an underlying cause.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InvokeException

        public InvokeException​(java.lang.String message)
        Creates the exception.
        Parameters:
        message - a description of the problem
      • InvokeException

        public InvokeException​(java.lang.Throwable e)
        Creates the exception for an underlying cause.
        Parameters:
        e - the cause