com.ibm.commerce.edp.service

Class ExceptionDumper

  • java.lang.Object
    • com.ibm.commerce.edp.service.ExceptionDumper


  • public class ExceptionDumper
    extends java.lang.Object
    This class is the utility to dump exception information in Payment Rules.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ExceptionDumper() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void dumpExceptionInfo(java.io.OutputStream out, java.lang.Throwable ex)
      This method writes the exception information to output stream and flushes without closing.
      static void dumpExceptionInfo(java.io.Writer writer2, java.lang.Throwable ex)
      This method writes the exception information to a PrintWriter and flushes without closing.
      static java.lang.String dumpExceptionInfoToString(java.lang.Throwable ex)
      This method dumps an exception into a string
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ExceptionDumper

        public ExceptionDumper()
    • Method Detail

      • dumpExceptionInfo

        public static void dumpExceptionInfo(java.io.OutputStream out,
                                             java.lang.Throwable ex)
        This method writes the exception information to output stream and flushes without closing.
        Parameters:
        out - The output stream to send the exception dump
        ex - The exception to dump
      • dumpExceptionInfo

        public static void dumpExceptionInfo(java.io.Writer writer2,
                                             java.lang.Throwable ex)
        This method writes the exception information to a PrintWriter and flushes without closing.
        Parameters:
        writer2 - The writer to send the exception dump
        ex - The exception to dump
      • dumpExceptionInfoToString

        public static java.lang.String dumpExceptionInfoToString(java.lang.Throwable ex)
        This method dumps an exception into a string
        Parameters:
        ex - The exception to dump
        Returns:
        The string with the dumped exception