|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object marf.util.ExceptionUtils
public class ExceptionUtils
Common exception utility methods used by all the branches of the MARF Exceptions hierarchy.
$Id: ExceptionUtils.java,v 1.2 2007/12/15 17:46:07 mokhov Exp $
Constructor Summary | |
---|---|
protected |
ExceptionUtils()
Allow inheritance, but other than that, no need to instantiate as all methods in here are presumed to be static. |
Method Summary | |
---|---|
static java.lang.String |
getStackTraceAsString(java.lang.String pstrMessage,
java.lang.Exception poException)
Writes out the stack trace into a string and returns it along with the supplied message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ExceptionUtils()
Method Detail |
---|
public static java.lang.String getStackTraceAsString(java.lang.String pstrMessage, java.lang.Exception poException)
pstrMessage
- custom exception message to prepend to the outputpoException
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |