Class JobTimeoutException

  • All Implemented Interfaces:
    java.io.Serializable

    public class JobTimeoutException
    extends FirecrawlException
    Thrown when an async job (crawl, batch, agent) does not complete within the specified timeout.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      JobTimeoutException​(java.lang.String jobId, int timeoutSeconds, java.lang.String jobType)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getJobId()
      The ID of the timed-out job.
      int getTimeoutSeconds()
      The timeout in seconds that was exceeded.
      • 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

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

      • JobTimeoutException

        public JobTimeoutException​(java.lang.String jobId,
                                   int timeoutSeconds,
                                   java.lang.String jobType)
    • Method Detail

      • getJobId

        public java.lang.String getJobId()
        The ID of the timed-out job.
      • getTimeoutSeconds

        public int getTimeoutSeconds()
        The timeout in seconds that was exceeded.