|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception marf.util.MARFException
public class MARFException
Class MARFException.
This class extends Exception for MARF specifics.
$Id: MARFException.java,v 1.21 2007/12/23 06:29:47 mokhov Exp $
Field Summary | |
---|---|
protected java.lang.String |
strMessage
Our own error message container. |
Constructor Summary | |
---|---|
MARFException()
Default MARF exception. |
|
MARFException(java.lang.Exception poException)
Wraps Exception object around. |
|
MARFException(java.lang.String pstrMessage)
Generic exception. |
|
MARFException(java.lang.String pstrMessage,
java.lang.Exception poException)
This is used for debug purposes only with some unusual Exception's. |
Method Summary | |
---|---|
IMARFException |
create()
|
IMARFException |
create(java.lang.Exception poException)
|
IMARFException |
create(java.lang.String pstrMessage)
|
IMARFException |
create(java.lang.String pstrMessage,
java.lang.Exception poException)
|
static java.lang.String |
getMARFSourceCodeRevision()
Returns source code revision information. |
java.lang.String |
getMessage()
Returns string representation of the error message. |
java.lang.String |
toString()
Override toString() to display our message. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String strMessage
Constructor Detail |
---|
public MARFException()
public MARFException(java.lang.String pstrMessage)
pstrMessage
- Error message stringpublic MARFException(java.lang.String pstrMessage, java.lang.Exception poException)
pstrMessage
- Error message stringpoException
- Exception object to dumppublic MARFException(java.lang.Exception poException)
poException
- Exception to wrap aroundMethod Detail |
---|
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public IMARFException create()
create
in interface IMARFException
public IMARFException create(java.lang.Exception poException)
create
in interface IMARFException
public IMARFException create(java.lang.String pstrMessage)
create
in interface IMARFException
public IMARFException create(java.lang.String pstrMessage, java.lang.Exception poException)
create
in interface IMARFException
IMARFException.create(java.lang.String, java.lang.Exception)
public java.lang.String toString()
toString()
to display our message.
toString
in class java.lang.Throwable
public static java.lang.String getMARFSourceCodeRevision()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |