Class ExceptionUtil


  • public class ExceptionUtil
    extends Object
    • Constructor Detail

      • ExceptionUtil

        public ExceptionUtil()
    • Method Detail

      • sanitize

        public static Throwable sanitize​(Throwable t,
                                         boolean perserveStack)
        Strip out the message and optionally the stacktrace
        Parameters:
        t -
        Returns: