APIdia Launch Partner
Top Description Fields Constructors Methods
javax.naming.directory

public Class InvalidSearchControlsException

extends NamingException
Class Inheritance
Imports
javax.naming.NamingException

This exception is thrown when the specification of the SearchControls for a search operation is invalid. For example, if the scope is set to a value other than OBJECT_SCOPE, ONELEVEL_SCOPE, SUBTREE_SCOPE, this exception is thrown.

Synchronization and serialization issues that apply to NamingException apply directly here.

Authors
Rosanna Lee, Scott Seligman
Since
1.3

Field Summary

Modifier and TypeField and Description
private static final long
serialVersionUID

Hides javax.naming.NamingException.serialVersionUID.

Use serialVersionUID from JNDI 1.1.1 for interoperability
Inherited from javax.naming.NamingException:
remainingNameresolvedNameresolvedObjrootException

Constructor Summary

AccessConstructor and Description
public
InvalidSearchControlsException()

Constructs a new instance of InvalidSearchControlsException.

public
InvalidSearchControlsException(String
Detail about this exception. Can be null.
msg
)

Constructs a new instance of InvalidSearchControlsException with an explanation.

Method Summary

Inherited from javax.naming.NamingException:
appendRemainingComponentappendRemainingNamegetCausegetExplanationgetRemainingNamegetResolvedNamegetResolvedObjgetRootCauseinitCausesetRemainingNamesetResolvedNamesetResolvedObjsetRootCausetoStringtoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.naming.NamingException.serialVersionUID.

Use serialVersionUID from JNDI 1.1.1 for interoperability

Constructor Detail

InvalidSearchControlsExceptionback to summary
public InvalidSearchControlsException()

Constructs a new instance of InvalidSearchControlsException. All fields are set to null.

InvalidSearchControlsExceptionback to summary
public InvalidSearchControlsException(String msg)

Constructs a new instance of InvalidSearchControlsException with an explanation. All other fields set to null.

Parameters
msg:String

Detail about this exception. Can be null.

See Also
java.lang.Throwable#getMessage