Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## jet.server.api.cluster
Class ClusterException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              jet.JException
                  jet.JSException
                      jet.server.api.cluster.ClusterException

All Implemented Interfaces:
  java.io.Serializable

    public class ClusterException

extends jet.JSException

This class is the exception produced by failed cluster operations.

See Also:
  Serialized Form

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`message.``

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

### ClusterException

    public ClusterException(int msgKey,
                            java.lang.Object[] params,
                            java.lang.Throwable cause)

  Constructs a new `ClusterException` with the specified detailed message and cause.

  Parameters:
    `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.

### ClusterException

    public ClusterException(int msgKey,
                            java.lang.Throwable cause)

  Constructs a new `ClusterException` with the specified detailed message and cause.

  Parameters:
    `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.

### ClusterException

    public ClusterException(int msgKey)

  Constructs a new `ClusterException` with the specified msgKey, the cause is not initialized.

  Parameters:
    `msgKey` - the message key in JSError, for finding the message, which will be logged and shown to user.

### ClusterException

    public ClusterException(java.lang.String message)

  Constructs a new `ClusterException` with the specified message, the cause is not initialized.

  Parameters:
    `msgKey` - the message key in JSError, for finding the message, which will be logged and shown to user.

### ClusterException

    public ClusterException(java.lang.Throwable originalThrowable)

  Constructs a new `ClusterException` with the specified cause and a `null`message.

  Parameters:
    `originalThrowable` - the cause.
  ``

Method Detail

### toString

    public java.lang.String toString()

  Converts this object to string information.

  Overrides:
    `toString` in class `java.lang.Throwable`

### getOriginalThrowable

    public java.lang.Throwable getOriginalThrowable()

  Gets the original Throwable object.

  Returns:
    the original Throwable object.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD