Package net.jini.io

Class UnsupportedConstraintException

All Implemented Interfaces:
Serializable

public class UnsupportedConstraintException extends IOException
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 Details

    • UnsupportedConstraintException

      public UnsupportedConstraintException(String s)
      Creates an instance with the specified detail message.
      Parameters:
      s - the detail message
    • UnsupportedConstraintException

      public UnsupportedConstraintException(String s, Throwable cause)
      Creates an instance with the specified detail message and cause.
      Parameters:
      s - the detail message
      cause - the cause