| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALREADY_ENDED
The Coordination has already terminated normally. |
| public static final int | ALREADY_PUSHED
The Coordination was already on a thread's thread local Coordination stack. |
| public static final int | DEADLOCK_DETECTED
Registering a Participant with a Coordination would have resulted in a deadlock. |
| public static final int | FAILED
The Coordination has terminated as a failure with
|
| private final long | |
| public static final int | LOCK_INTERRUPTED
The current thread was interrupted while waiting to register a Participant with a Coordination. |
| private final String | |
| public static final int | PARTIALLY_ENDED
The Coordination has partially ended. |
| private static final long | |
| private final int | |
| public static final int | UNKNOWN
Unknown reason for this exception. |
| public static final int | WRONG_THREAD
The Coordination cannot be ended by the calling thread since the Coordination is on the thread local Coordination stack of another thread. |
| Access | Constructor and Description |
|---|---|
| public | CoordinationException(String
The detail message for this exception. message, Coordination The Coordination associated with this exception. coordination, int The type of this exception. type, Throwable The cause associated with this exception. cause)Create a new Coordination Exception with a cause. |
| public | CoordinationException(String
The detail message for this exception. message, Coordination The Coordination associated with this exception. coordination, int The type of this exception. type)Create a new Coordination Exception. |
| Modifier and Type | Method and Description |
|---|---|
| public long | Returns: The id of the Coordination associated with this exception or-1 if no Coordination is associated with this exception.Returns the id of the |
| public String | Returns: The name of the Coordination associated with this exception or"<>" if no Coordination is associated with this
exception.Returns the name of the |
| public int |
| ALREADY_ENDED | back to summary |
|---|---|
| public static final int ALREADY_ENDED The Coordination has already terminated normally. | |
| ALREADY_PUSHED | back to summary |
|---|---|
| public static final int ALREADY_PUSHED The Coordination was already on a thread's thread local Coordination stack. | |
| DEADLOCK_DETECTED | back to summary |
|---|---|
| public static final int DEADLOCK_DETECTED Registering a Participant with a Coordination would have resulted in a deadlock. | |
| FAILED | back to summary |
|---|---|
| public static final int FAILED The Coordination has terminated as a failure with
| |
| id | back to summary |
|---|---|
| private final long id | |
| LOCK_INTERRUPTED | back to summary |
|---|---|
| public static final int LOCK_INTERRUPTED The current thread was interrupted while waiting to register a Participant with a Coordination. | |
| name | back to summary |
|---|---|
| private final String name | |
| PARTIALLY_ENDED | back to summary |
|---|---|
| public static final int PARTIALLY_ENDED The Coordination has partially ended. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| type | back to summary |
|---|---|
| private final int type | |
| UNKNOWN | back to summary |
|---|---|
| public static final int UNKNOWN Unknown reason for this exception. | |
| WRONG_THREAD | back to summary |
|---|---|
| public static final int WRONG_THREAD The Coordination cannot be ended by the calling thread since the Coordination is on the thread local Coordination stack of another thread. | |
| CoordinationException | back to summary |
|---|---|
| public CoordinationException(String message, Coordination coordination, int type, Throwable cause) Create a new Coordination Exception with a cause.
| |
| CoordinationException | back to summary |
|---|---|
| public CoordinationException(String message, Coordination coordination, int type) Create a new Coordination Exception.
| |
| getId | back to summary |
|---|---|
| public long getId() Returns the id of the
| |
| getName | back to summary |
|---|---|
| public String getName() Returns the name of the
| |
| getType | back to summary |
|---|---|
| public int getType() Returns the type for this exception.
| |