public class RegistrationException extends AeronException
Publications, Subscriptions, or Counters.AeronException.Category| Constructor and Description |
|---|
RegistrationException(long correlationId,
int errorCodeValue,
ErrorCode errorCode,
String msg)
Construct a exception to represent an error which occurred during registration of a resource such as a
Publication, Subscription, or Counter.
|
| Modifier and Type | Method and Description |
|---|---|
long |
correlationId()
Get the correlation id of the command to register the resource action.
|
ErrorCode |
errorCode()
Get the
ErrorCode for the specific exception. |
int |
errorCodeValue()
Value of the
errorCode() encoded as an int. |
categoryaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RegistrationException(long correlationId,
int errorCodeValue,
ErrorCode errorCode,
String msg)
correlationId - of the command to register the resource.errorCodeValue - in case the ErrorCode is unknown to the client version.errorCode - indicating type of error experienced by the media driver.msg - proving more detail.public long correlationId()
public ErrorCode errorCode()
ErrorCode for the specific exception.ErrorCode for the specific exception.public int errorCodeValue()
errorCode() encoded as an int. This can provide additional information when a
ErrorCode.UNKNOWN_CODE_VALUE is returned.Copyright © 2014-2020 Real Logic Limited. All Rights Reserved.