Class LockTimeoutException

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

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

      • LockTimeoutException

        public LockTimeoutException​(java.lang.String msg,
                                    java.lang.Throwable[] nested,
                                    java.lang.Object failed)
    • 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