Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.nimbusds.ldap.dnresolver;


Thrown to indicate an LDAP search exception to a DNSearchRequest.
 
 public class DNSearchException extends Exception {


Creates a new DN search exception with the specified message.

Parameters:
message The exception message.
	public DNSearchException(final String message) {
		this(messagenull);
	}


Creates a new DN search exception with the specified message and cause.

Parameters:
message The exception message.
cause The exception cause.
	public DNSearchException(final String messagefinal Throwable cause) {
		super("Couldn't do LDAP search: " + messagecause);
	}
New to GrepCode? Check out our FAQ X