Package com.day.cq.replication
Class TransportException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.day.cq.replication.ReplicationException
-
- com.day.cq.replication.TransportException
-
- All Implemented Interfaces:
Serializable
public class TransportException extends ReplicationException
This exception is thrown by a transport handler when the underlying transport (e.g. HTTP) received an unexpected answer from the remote peer.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransportException(int code, String message)
Create a new instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicationResult
getResult()
Return the replication result.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TransportException
public TransportException(int code, String message)
Create a new instance of this class.- Parameters:
code
- error codemessage
- error message
-
-
Method Detail
-
getResult
public ReplicationResult getResult()
Return the replication result.- Returns:
- replication result
-
-