- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.rmi.server.ServerNotActiveException
- All Implemented Interfaces:
Serializable
public class ServerNotActiveException extends Exception
AnServerNotActiveException
is anException
thrown during a call toRemoteServer.getClientHost
if the getClientHost method is called outside of servicing a remote method call.- Since:
- 1.1
- See Also:
RemoteServer.getClientHost()
, Serialized Form
Constructor Summary
Constructors Constructor Description ServerNotActiveException()
Constructs anServerNotActiveException
with no specified detail message.ServerNotActiveException(String s)
Constructs anServerNotActiveException
with the specified detail message.
Method Summary
Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Detail
ServerNotActiveException
public ServerNotActiveException()
Constructs anServerNotActiveException
with no specified detail message.- Since:
- 1.1
ServerNotActiveException
public ServerNotActiveException(String s)
Constructs anServerNotActiveException
with the specified detail message.- Parameters:
s
- the detail message.- Since:
- 1.1