Top Fields Constructors Methods
org.jboss.threads

pack-priv Class LoggingUncaughtExceptionHandler

extends Object
implements UncaughtExceptionHandler
Class Inheritance
All Implemented Interfaces
java.lang.Thread.UncaughtExceptionHandler
Imports
org.jboss.logging.Logger

Field Summary

Modifier and TypeField and Description
private final Logger

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
public void
uncaughtException(final Thread
the thread
thread
,
final Throwable
the exception
throwable
)

Implements java.lang.Thread.UncaughtExceptionHandler.uncaughtException.

Method invoked when the given thread terminates due to the given uncaught exception.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

logback to summary
private final Logger log

Constructor Detail

LoggingUncaughtExceptionHandlerback to summary
pack-priv LoggingUncaughtExceptionHandler(final Logger log)

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

uncaughtExceptionback to summary
public void uncaughtException(final Thread thread, final Throwable throwable)

Implements java.lang.Thread.UncaughtExceptionHandler.uncaughtException.

Doc from java.lang.Thread.UncaughtExceptionHandler.uncaughtException.

Method invoked when the given thread terminates due to the given uncaught exception.

Any exception thrown by this method will be ignored by the Java Virtual Machine.

Parameters
thread:Thread

the thread

throwable:Throwable

the exception