Class ExceptionHelper
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.util.ExceptionHelper
-
public final class ExceptionHelper extends Object
Utility class with helpful functions for exceptions.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getMessageFromExceptionOrCause(Throwable t)
static String
getMessageOrName(Throwable t)
static Throwable
getRootCause(Throwable t)
A wrapper to Commons LangExceptionUtils.getRootCause(Throwable)
which ensures that the root is either an inner cause to the exception or the exception itself (rather thannull
).
-