|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
jet.JException
jet.JSException
jet.server.api.cluster.ClusterException
public class ClusterException
This class is the exception produced by failed cluster operations.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jet.JException |
|---|
jet.JException.LogLevel |
| Constructor Summary | |
|---|---|
ClusterException(int msgKey)
Constructs a new ClusterException with the specified msgKey,
the cause is not initialized. |
|
ClusterException(int msgKey,
java.lang.Object[] params,
java.lang.Throwable cause)
Constructs a new ClusterException with the specified detailed message and cause. |
|
ClusterException(int msgKey,
java.lang.Throwable cause)
Constructs a new ClusterException with the specified detailed
message and cause. |
|
ClusterException(java.lang.String message)
Constructs a new ClusterException with the specified message,
the cause is not initialized. |
|
ClusterException(java.lang.Throwable originalThrowable)
Constructs a new ClusterException with the specified cause and
a null |
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getOriginalThrowable()
Gets the original Throwable object. |
java.lang.String |
toString()
Converts this object to string information. |
| Methods inherited from class jet.JSException |
|---|
getErrorKey |
| Methods inherited from class jet.JException |
|---|
getMessages, getThrowables, logTrace |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ClusterException(int msgKey,
java.lang.Object[] params,
java.lang.Throwable cause)
ClusterException with the specified detailed message and cause.
msgKey - the message key in JSError, for finding the message, which will
be logged and shown to user.params - the parameters used for formatting the message string, which can be
null.cause - the cause which is saved for later retrieval by the getCause.
public ClusterException(int msgKey,
java.lang.Throwable cause)
ClusterException with the specified detailed
message and cause.
msgKey - the message key in JSError, for finding the message, which will
be logged and shown to user.cause - the cause. A null is permitted, and it
indicates the cause is nonexistent or unknown.public ClusterException(int msgKey)
ClusterException with the specified msgKey,
the cause is not initialized.
msgKey - the message key in JSError, for finding the message, which will
be logged and shown to user.public ClusterException(java.lang.String message)
ClusterException with the specified message,
the cause is not initialized.
msgKey - the message key in JSError, for finding the message, which will
be logged and shown to user.public ClusterException(java.lang.Throwable originalThrowable)
ClusterException with the specified cause and
a null message.
- Parameters:
originalThrowable - the cause.
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Throwablepublic java.lang.Throwable getOriginalThrowable()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||