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 StringgetMessageFromExceptionOrCause(Throwable t)static StringgetMessageOrName(Throwable t)static ThrowablegetRootCause(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).
-