java.lang.Object
org.glassfish.grizzly.utils.Exceptions
Exceptions utilities.
- Author:
- Alexey Stashok
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic Stringstatic IOExceptionWrap the givenThrowablebyIOException.
-
Constructor Details
-
Exceptions
public Exceptions()
-
-
Method Details
-
getStackTraceAsString
Returns theThrowable's stack trace information asString. The resultStringformat will be the same as reported byThrowable.printStackTrace(). -
makeIOException
Wrap the givenThrowablebyIOException.- Parameters:
t-Throwable.- Returns:
IOException.
-
getAllStackTracesAsString
- Returns:
Stringrepresentation of all the JVM threads- See Also:
-