public static String printStackTrace(Throwable t) {
        return t == null ? PcConstants.NA : ExceptionUtils.getStackTrace(t);

    }
public static String printStackTrace ( Throwable t ) { return t == null ? PcConstants . NA : ExceptionUtils . getStackTrace ( t ) ; }
Prints the stack trace.

@param t
the throwable
@return the string