Class ExceptionUtils
java.lang.Object
gov.nasa.pds.registry.common.util.ExceptionUtils
Helper methods to work with exceptions.
- Author:
- karpenko
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetMessage(Exception ex) Extract original exception message from a stack trace.
-
Constructor Details
-
ExceptionUtils
public ExceptionUtils()
-
-
Method Details
-
getMessage
Extract original exception message from a stack trace.- Parameters:
ex- Exception object- Returns:
- Original error message
-