public static ApplicationDeadlockException isADE ( Throwable t ) { while ( t != null ) { if ( t instanceof ApplicationDeadlockException ) { return ( ApplicationDeadlockException ) t ; } else { t = t . getCause ( ) ; } } return null ; }
Detects exception contains is or a ApplicationDeadlockException .