Class LockException

  • All Implemented Interfaces:
    java.io.Serializable

    public class LockException
    extends DataAccessException
    Translated exception for a SQLException representing a lock timeout or deadlock exception
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      LockException​(java.lang.Throwable t, boolean deadlock)
      Public constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isDeadlock()  
      • 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, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LockException

        public LockException​(java.lang.Throwable t,
                             boolean deadlock)
        Public constructor
        Parameters:
        t -
    • Method Detail

      • isDeadlock

        public boolean isDeadlock()