EAF 7.6 Implementation

com.lutris.util
Class ChainedThrowableUtil

java.lang.Object
  extended by com.lutris.util.ChainedThrowableUtil

public class ChainedThrowableUtil
extends java.lang.Object

Utilities used to implement the Chained* throwables.


Method Summary
static java.lang.String getMessage(com.lutris.util.ChainedThrowable 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(com.lutris.util.ChainedThrowable except)
          Prints stacktrace and cause stacktrace.
static void printCauseTrace(com.lutris.util.ChainedThrowable except, java.io.PrintStream s)
          Prints stacktrace and cause stacktrace.
static void printCauseTrace(com.lutris.util.ChainedThrowable 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(com.lutris.util.ChainedThrowable except,
                                          java.lang.String superMsg)
Get the message associated with this exception.


printCauseTrace

public static void printCauseTrace(com.lutris.util.ChainedThrowable except)
Prints stacktrace and cause stacktrace.


printCauseTrace

public static void printCauseTrace(com.lutris.util.ChainedThrowable except,
                                   java.io.PrintStream s)
Prints stacktrace and cause stacktrace.


printCauseTrace

public static void printCauseTrace(com.lutris.util.ChainedThrowable except,
                                   java.io.PrintWriter out)
Prints stacktrace and cause stacktrace.


EAF 7.6 Implementation