Class QueryTimeoutException

  • All Implemented Interfaces:
    java.io.Serializable, ExceptionInfo

    public class QueryTimeoutException
    extends jakarta.persistence.QueryTimeoutException
    implements java.io.Serializable, ExceptionInfo
    Query timeout violation.
    Since:
    2.0.0
    See Also:
    Serialized Form
    • Constructor Detail

      • QueryTimeoutException

        public QueryTimeoutException​(java.lang.String msg,
                                     java.lang.Throwable[] nested,
                                     java.lang.Object failed)
      • QueryTimeoutException

        public QueryTimeoutException​(java.lang.String msg,
                                     java.lang.Throwable[] nested,
                                     java.lang.Object failed,
                                     boolean fatal)
    • Method Detail

      • isFatal

        public boolean isFatal()
        Description copied from interface: ExceptionInfo
        Whether this error is fatal.
        Specified by:
        isFatal in interface ExceptionInfo
      • getCause

        public java.lang.Throwable getCause()
        Description copied from interface: ExceptionInfo
        Returns the first Throwable from ExceptionInfo.getNestedThrowables() in order to conform to Throwable.getCause() in Java 1.4+.
        Specified by:
        getCause in interface ExceptionInfo
        Overrides:
        getCause in class java.lang.Throwable
        See Also:
        Throwable.getCause()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable
      • printStackTrace

        public void printStackTrace()
        Description copied from interface: ExceptionInfo
        Stack.
        Specified by:
        printStackTrace in interface ExceptionInfo
        Overrides:
        printStackTrace in class java.lang.Throwable
        See Also:
        Throwable.printStackTrace()
      • printStackTrace

        public void printStackTrace​(java.io.PrintStream out)
        Overrides:
        printStackTrace in class java.lang.Throwable
      • printStackTrace

        public void printStackTrace​(java.io.PrintWriter out)
        Overrides:
        printStackTrace in class java.lang.Throwable