Class DeadlockException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DeadlockException
    extends java.lang.Throwable
    A Throwable used as a cause if deadlocked threads are detected by Awaitility.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.management.ThreadInfo[] threadInfos  
    • Constructor Summary

      Constructors 
      Constructor Description
      DeadlockException​(long[] threads)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()  
      java.lang.management.ThreadInfo[] getThreadInfos()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, 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
    • Field Detail

      • threadInfos

        private final java.lang.management.ThreadInfo[] threadInfos
    • Constructor Detail

      • DeadlockException

        public DeadlockException​(long[] threads)
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable
      • getThreadInfos

        public java.lang.management.ThreadInfo[] getThreadInfos()