|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.alienfactory.javamappy.JavaMappyException
public class JavaMappyException
A JavaMappyException
is thrown when something fishy happens!
Constructor Summary | |
---|---|
JavaMappyException(java.lang.String strErrorMessage)
Constructs a MapException with the given message. |
|
JavaMappyException(java.lang.String strErrorMessage,
java.lang.Exception nestedException)
Constructs a MapException with a nested exception and an
error message. |
Method Summary | |
---|---|
java.lang.String |
getMessage()
Returns the error message. |
java.lang.Exception |
getNestedException()
Returns the nested exception if one exists. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JavaMappyException(java.lang.String strErrorMessage)
MapException
with the given message.
strErrorMessage
- an explanation this Exception
was thrownpublic JavaMappyException(java.lang.String strErrorMessage, java.lang.Exception nestedException)
MapException
with a nested exception and an
error message.
strErrorMessage
- the MapException
messagenestedException
- the nested exceptionMethod Detail |
---|
public java.lang.Exception getNestedException()
null
is returned
otherwise.
null
.public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |