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
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:
-
Constructor Summary
ConstructorsConstructorDescriptionTransportException(int code, String message) Create a new instance of this class. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TransportException
Create a new instance of this class.- Parameters:
code- error codemessage- error message
-
-
Method Details
-
getResult
Return the replication result.- Returns:
- replication result
-