org.eclipse.jpt.common.utility
Class ExceptionHandler.Default
java.lang.Object
org.eclipse.jpt.common.utility.ExceptionHandler.Default
- All Implemented Interfaces:
- Serializable, ExceptionHandler
- Enclosing interface:
- ExceptionHandler
public static final class ExceptionHandler.Default
- extends Object
- implements ExceptionHandler, Serializable
Singleton implementation of the exception handler interface that,
like what happens with an unhandled exception
(see ThreadGroup.uncaughtException(Thread, Throwable)),
prints the exception's stack trace to the
"standard" error output stream.
- See Also:
- Serialized Form
INSTANCE
public static final ExceptionHandler INSTANCE
instance
public static ExceptionHandler instance()
handleException
public void handleException(Throwable t)
- Description copied from interface:
ExceptionHandler
- The specified exception was thrown. Handle it appropriately.
- Specified by:
handleException in interface ExceptionHandler
toString
public String toString()
- Overrides:
toString in class Object
Copyright (c) 2012 Oracle. All rights reserved.