Class ServiceConnectionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- de.aristaflow.adept2.base.communication.ServiceConnectionException
-
- All Implemented Interfaces:
Serializable
@Deprecated public class ServiceConnectionException extends RuntimeException
Deprecated.UseServiceConnectionException
instead. This class will be removed in the future.AServiceConnectionException
will be thrown by the communication layer to indicate a connection problem, for instance, the connection timed out. Since the communication is completely hidden from the application (the calling service), this exception may occur arbitrary just like a normal runtime exception. Unlikejava.rmi.RemoteException
there is no need to explicitly handle it but it may be reasonable when calling another service (which may be implicitly called remotely).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServiceConnectionException(String message)
Deprecated.Create a new exception with just a message.ServiceConnectionException(String message, Throwable cause)
Deprecated.Create a new exception with a message and a cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ServiceConnectionException
public ServiceConnectionException(String message, Throwable cause)
Deprecated.Create a new exception with a message and a cause.- Parameters:
message
-cause
-
-
ServiceConnectionException
public ServiceConnectionException(String message)
Deprecated.Create a new exception with just a message.- Parameters:
message
-
-
-