|
|||||||||
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 java.sql.SQLException com.rocketsoftware.mvapi.exceptions.MVException
public class MVException
Exception handling for MV API
Constructor Summary | |
---|---|
MVException(java.lang.Exception e)
MVException constructor from an exception |
|
MVException(java.lang.Exception e,
java.lang.String errorMessage,
int errorCode)
MVException constructor from an exception |
|
MVException(java.lang.String errorMessage)
MVException constructor with an error string |
|
MVException(java.lang.String errorMessage,
int errorCode)
MVException constructor with an error string and error code |
Method Summary | |
---|---|
int |
getErrorCode()
get the error code |
java.lang.String |
getErrorMessage()
get the error message |
java.lang.Exception |
getException()
get the original exception if any |
Methods inherited from class java.sql.SQLException |
---|
getNextException, getSQLState, setNextException |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MVException(java.lang.Exception e)
public MVException(java.lang.Exception e, java.lang.String errorMessage, int errorCode)
public MVException(java.lang.String errorMessage)
errorMessage
- error descriptionpublic MVException(java.lang.String errorMessage, int errorCode)
errorMessage
- error messageerrorCode
- error code from MVErrors listMethod Detail |
---|
public java.lang.Exception getException()
public java.lang.String getErrorMessage()
public int getErrorCode()
getErrorCode
in class java.sql.SQLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |