Class ExceptionHandler
java.lang.Object
VASSAL.launch.ExceptionHandler
- All Implemented Interfaces:
Thread.UncaughtExceptionHandler
Handles uncaught exceptions. None of the methods in this class are
intended to be called in our code, but must be public in order to be
accessible to
Thread
and {link EventDispatchThread}.- Since:
- 3.1.0
- Author:
- Joel Uckelman
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Handles uncaught exceptions.void
uncaughtException
(Thread thread, Throwable thrown) This method is part of theThread.UncaughtExceptionHandler
interface.
-
Constructor Details
-
ExceptionHandler
public ExceptionHandler()
-
-
Method Details
-
handle
Handles uncaught exceptions.- Parameters:
thrown
- theThrowable
which was not caught.
-
uncaughtException
This method is part of theThread.UncaughtExceptionHandler
interface. Do not call this method directly.- Specified by:
uncaughtException
in interfaceThread.UncaughtExceptionHandler
- Parameters:
thread
- the thread where the exception occurredthrown
- the exception
-