|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.konakartadmin.app.KKAdminException
public class KKAdminException
An exception in the Admin App
Field Summary | |
---|---|
int |
code
A code that can be used to indicate the type of exception |
static int |
CUSTOMER_NOT_FOUND
Customer Not Found exception code |
private static java.lang.String |
EXCEPTION_MSG
|
static int |
INVALID_SESSION
Store deleted exception code - multi-store only |
private static long |
serialVersionUID
|
Constructor Summary | |
---|---|
KKAdminException()
|
|
KKAdminException(java.lang.String msg)
|
|
KKAdminException(java.lang.String msg,
java.lang.Throwable nested)
Constructs a new KKAdminException with specified detail message and nested
Throwable . |
|
KKAdminException(java.lang.Throwable nested)
Constructs a new KKException with specified nested Throwable . |
Method Summary | |
---|---|
int |
getCode()
|
private static java.lang.String |
getExceptionMessage(java.lang.String msg)
Returns a string containing the msg with the version number appended (but only once) |
private static java.lang.String |
getExceptionMessage(java.lang.String msg,
java.lang.Throwable e)
Returns a string containing the stack trace of the exception and its cause |
void |
setCode(int code)
|
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
public static final int INVALID_SESSION
public static final int CUSTOMER_NOT_FOUND
private static final java.lang.String EXCEPTION_MSG
public int code
Constructor Detail |
---|
public KKAdminException()
public KKAdminException(java.lang.String msg)
msg
- public KKAdminException(java.lang.Throwable nested)
KKException
with specified nested Throwable
.
nested
- the exception or error that caused this exception to be thrown.public KKAdminException(java.lang.String msg, java.lang.Throwable nested)
KKAdminException
with specified detail message and nested
Throwable
.
msg
- the error message.nested
- the exception or error that caused this exception to be thrown.Method Detail |
---|
private static java.lang.String getExceptionMessage(java.lang.String msg)
msg
-
private static java.lang.String getExceptionMessage(java.lang.String msg, java.lang.Throwable e)
e
-
public int getCode()
public void setCode(int code)
code
- the code to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |