Class ReplicationCliException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.opends.server.types.OpenDsException
-
- org.opends.server.tools.dsreplication.ReplicationCliException
-
- All Implemented Interfaces:
Serializable,org.forgerock.i18n.LocalizableException
public class ReplicationCliException extends OpenDsException
The exception that is thrown during the replication command-line execution.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReplicationCliException(org.forgerock.i18n.LocalizableMessage message, ReplicationCliReturnCode errorCode, Throwable cause)The constructor for the exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicationCliReturnCodegetErrorCode()Returns the error code associated with this exception.-
Methods inherited from class org.opends.server.types.OpenDsException
getMessageObject
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ReplicationCliException
public ReplicationCliException(org.forgerock.i18n.LocalizableMessage message, ReplicationCliReturnCode errorCode, Throwable cause)The constructor for the exception.- Parameters:
message- the localized message.errorCode- the error code associated with this exception.cause- the cause that generated this exception.
-
-
Method Detail
-
getErrorCode
public ReplicationCliReturnCode getErrorCode()
Returns the error code associated with this exception.- Returns:
- the error code associated with this exception.
-
-