org.openhealthexchange.openpixpdq.util
Class ExceptionUtil

java.lang.Object
  extended by org.openhealthexchange.openpixpdq.util.ExceptionUtil

public class ExceptionUtil
extends java.lang.Object

A utility class to help manipulate the Exception class.

Version:
1.0, Feb 26, 2009
Author:
Wenzhi Li

Constructor Summary
ExceptionUtil()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static java.lang.String strip(java.lang.String exceptionMessage)
          Strips away the exception class path preceding the exception message, so the message length would be shortened.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionUtil

public ExceptionUtil()
Method Detail

strip

public static java.lang.String strip(java.lang.String exceptionMessage)
Strips away the exception class path preceding the exception message, so the message length would be shortened.

Parameters:
exceptionMessage -
Returns:
a shortened exception message without preceding class path

main

public static void main(java.lang.String[] args)