Package info.monitorenter.util
Class ExceptionUtil
java.lang.Object
info.monitorenter.util.ExceptionUtil
Nice static helpers for working with Strings.
Maybe not always the fastest solution to call in here, but working. Also usable for seeing examples and cutting code for manual inlining.
- Version:
- $Revision: 1.2 $
- Author:
- Achim.Westermann@gmx.de
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
dumpThreadStack
(PrintStream outprint) Prints out the current Thread stack to the given stream.static ExceptionUtil
instance()
Returns the singleton instance of this class.
-
Constructor Details
-
ExceptionUtil
public ExceptionUtil()
-
-
Method Details
-
instance
Returns the singleton instance of this class.This method is useless for now as all methods are static. It may be used in future if VM-global configuration will be put to the state of the instance.
- Returns:
- the singleton instance of this class.
-
dumpThreadStack
Prints out the current Thread stack to the given stream.- Parameters:
outprint
- the stream to print to (e.g.
).System.err
- See Also:
-