|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.moremotion.exception.MoreMotionException
public class MoreMotionException
Constructor Summary | |
---|---|
MoreMotionException(java.lang.Exception rootCause)
Creates a new MoreMotionException. |
|
MoreMotionException(java.lang.String message)
Creates a new MoreMotionException. |
|
MoreMotionException(java.lang.String messsage,
java.lang.String[] arguments,
java.lang.Exception rootCause)
Creates a new MoreMotionException. |
|
MoreMotionException(java.lang.String message,
java.lang.String[] arguments,
java.lang.Exception rootCause,
java.lang.String resBundleName)
Creates a new MoreMotionException. |
Method Summary | |
---|---|
java.lang.String[] |
getArguments()
|
java.lang.String |
getLocalizedMessage(java.lang.String language)
Returns a localized message using resources. |
java.lang.String |
getMessage()
Returns the message. |
java.sql.SQLException |
getOriginalSQLException()
Returns the original error code that caused the exception. |
java.lang.String |
getResBundleName()
Returns resource name. |
java.lang.String |
getResourceMessage(boolean resolve)
|
java.lang.Exception |
getRootCause()
Returns root cause. |
void |
printStackTrace()
Prints stack trace with the r oot cause's stack trace. |
void |
printStackTrace(java.io.PrintStream ps)
Prints stack trace with the root cause's stack trace. |
void |
printStackTrace(java.io.PrintWriter pw)
Prints stack trace with the root cause's stack trace. |
void |
setResBundleName(java.lang.String resBundleName)
sets resource name. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MoreMotionException(java.lang.Exception rootCause)
public MoreMotionException(java.lang.String message)
public MoreMotionException(java.lang.String message, java.lang.String[] arguments, java.lang.Exception rootCause, java.lang.String resBundleName)
message
- Exception message.arguments
- message argument array.rootCause
- The Exception that caused this Exception to be thrownresBundleName
- resBundleName to get localized messagespublic MoreMotionException(java.lang.String messsage, java.lang.String[] arguments, java.lang.Exception rootCause)
messsage
- Exception message.arguments
- message argument array.rootCause
- The Exception that caused this Exception to be thrownMethod Detail |
---|
public java.lang.String getLocalizedMessage(java.lang.String language) throws java.lang.Exception
java.lang.Exception
public java.lang.String getResourceMessage(boolean resolve) throws java.lang.Exception
java.lang.Exception
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String[] getArguments()
public java.lang.Exception getRootCause()
public void setResBundleName(java.lang.String resBundleName)
public java.lang.String getResBundleName()
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream ps)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter pw)
printStackTrace
in class java.lang.Throwable
public java.sql.SQLException getOriginalSQLException()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |