edu.jhu.tmaj.util
Class ErrorUtil

java.lang.Object
  extended by edu.jhu.tmaj.util.ErrorUtil

public final class ErrorUtil
extends java.lang.Object


Method Summary
static void throwCatchedException(java.lang.String message, java.lang.Exception exception)
           
static void throwCatchedSQLException(java.lang.String message, java.lang.Exception exception)
           
static void throwFatalCatchedException(java.lang.String message, java.lang.Exception exception)
           
static void throwNewException(java.lang.String message)
           
static void throwNewFatalException(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

throwNewException

public static void throwNewException(java.lang.String message)

throwNewFatalException

public static void throwNewFatalException(java.lang.String message)

throwCatchedException

public static void throwCatchedException(java.lang.String message,
                                         java.lang.Exception exception)

throwCatchedSQLException

public static void throwCatchedSQLException(java.lang.String message,
                                            java.lang.Exception exception)
                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

throwFatalCatchedException

public static void throwFatalCatchedException(java.lang.String message,
                                              java.lang.Exception exception)