Class RepositoryReplicationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.j7m.middleware.api.MiddlewareException
org.j7m.middleware.application.api.replication.RepositoryReplicationException
- All Implemented Interfaces:
Serializable
Repository replication exception with stable middleware error mapping.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRepositoryReplicationException(RemoteError remoteError) Creates an exception from a normalized remote error.RepositoryReplicationException(RemoteError remoteError, Throwable cause) Creates an exception from a normalized remote error and root cause. -
Method Summary
Methods inherited from class MiddlewareException
code, dirtyTarget, of, remote, remoteError, retryableMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RepositoryReplicationException
Creates an exception from a normalized remote error.- Parameters:
remoteError- safe normalized error
-
RepositoryReplicationException
Creates an exception from a normalized remote error and root cause.- Parameters:
remoteError- safe normalized errorcause- root cause retained for local diagnostics
-