1 /***
2 * @author Lu�s Pedro
3 * @version $Revison: 1 $Date: 27/Mar/2004 17:41:48
4 *
5 **/
6 package jsdsi.ldap;
7 /***
8 * This exception specifies that an special error ocurred on the search, mostly used to
9 * verify if the search has results
10 *
11 * @author Lu�s Pedro
12 * @author Sean Radford
13 * @version $Revison: 1.1 $Date: 27/Mar/2004 18:13:15
14 *
15 */
16
17 public class LDAPSearchException extends Exception {
18
19 private static final long serialVersionUID = -1120303142290208448L;
20
21 /***
22 * New default instance of the exception
23 *
24 */
25 public LDAPSearchException() {
26 super("No Such Objects (80) No Such Objects");
27 }
28
29 /***
30 * New custom instance of the exception
31 *
32 * @param msg a custom message to return when exception occurr
33 * @param code a custom code to return when exception occurr
34 */
35 public LDAPSearchException(String msg, int code) {
36 super(msg + " (" + code + ") " + msg);
37 }
38
39 }
This page was automatically generated by Maven