EAF 7.4 API

org.enhydra.dods.exceptions
Class DodsBaseExceptionUtil

java.lang.Object
  extended by org.enhydra.dods.exceptions.DodsBaseExceptionUtil

public class DodsBaseExceptionUtil
extends java.lang.Object

Utilities used to implement the DodsBaseException.


Method Summary
static java.lang.String getMessage(DodsBaseException except, java.lang.String superMsg)
          Get the message associated with this exception.
static java.lang.String makeMessage(java.lang.Throwable cause)
          Generate the message to set for the exception message.
static void printCauseTrace(DodsBaseException except)
          Prints stacktrace and cause stacktrace.
static void printCauseTrace(DodsBaseException except, java.io.PrintStream s)
          Prints stacktrace and cause stacktrace.
static void printCauseTrace(DodsBaseException except, java.io.PrintWriter out)
          Prints stacktrace and cause stacktrace.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

makeMessage

public static java.lang.String makeMessage(java.lang.Throwable cause)
Generate the message to set for the exception message. When not explicit message is supplied.


getMessage

public static java.lang.String getMessage(DodsBaseException except,
                                          java.lang.String superMsg)
Get the message associated with this exception.


printCauseTrace

public static void printCauseTrace(DodsBaseException except)
Prints stacktrace and cause stacktrace.


printCauseTrace

public static void printCauseTrace(DodsBaseException except,
                                   java.io.PrintStream s)
Prints stacktrace and cause stacktrace.


printCauseTrace

public static void printCauseTrace(DodsBaseException except,
                                   java.io.PrintWriter out)
Prints stacktrace and cause stacktrace.


EAF 7.4 API