Package net.jini.io
Class UnsupportedConstraintException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
net.jini.io.UnsupportedConstraintException
- All Implemented Interfaces:
Serializable
Typically used as the nested exception of a
ConnectIOException if the
constraints for a remote call cannot be satisfied. Such an exception can be thrown at the point a
remote method is invoked for a variety of reasons, including: - A client requirement is not supported by the server.
- A client or server requirement conflicts with some other client or server requirement.
- A client or server requirement cannot be satisfied by the proxy implementation.
- The local subject that would be used for authentication does not contain sufficient credentials to satisfy a client or server requirement.
- For a client or server requirement, the proxy implementation does not implement any algorithm in common with the server (for example, because the proxy implementation only uses algorithms that are available in the client environment rather than downloading algorithm implementations).
- A delegated remote call is being attempted, and the current time is either earlier than the granted delegation start time or later than the granted delegation stop time.
- Since:
- 2.0
- Author:
- Sun Microsystems, Inc.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance with the specified detail message.UnsupportedConstraintException(String s, Throwable cause) Creates an instance with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnsupportedConstraintException
Creates an instance with the specified detail message.- Parameters:
s- the detail message
-
UnsupportedConstraintException
Creates an instance with the specified detail message and cause.- Parameters:
s- the detail messagecause- the cause
-