Package com.day.cq.replication
Class ReplicationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.day.cq.replication.ReplicationException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AccessDeniedException,AgentNotFoundException,PathNotFoundException,TransportException,UnrecoverableReplicationException
public class ReplicationException extends Exception
Main exception thrown by classes in this package. May either contain an error message or another exception wrapped inside this exception.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReplicationException(Exception e)Creates aReplicationExceptiongiven a root exceptionReplicationException(String s)Creates aReplicationExceptiongiven a message describing the failure causeReplicationException(String s, Exception e)Creates aReplicationExceptiongiven a message describing the failure cause and a root exception
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ReplicationException
public ReplicationException(String s)
Creates aReplicationExceptiongiven a message describing the failure cause- Parameters:
s- description
-
ReplicationException
public ReplicationException(String s, Exception e)
Creates aReplicationExceptiongiven a message describing the failure cause and a root exception- Parameters:
s- descriptione- root failure cause
-
ReplicationException
public ReplicationException(Exception e)
Creates aReplicationExceptiongiven a root exception- Parameters:
e- root failure cause
-
-