01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: /**
18: * @author Hugo Beilis
19: * @author Leonardo Soler
20: * @author Gabriel Miretti
21: * @version 1.0
22: */package org.apache.harmony.jndi.tests.javax.naming.spi.mock.ldap;
23:
24: import java.util.Hashtable;
25:
26: import javax.naming.Context;
27: import javax.naming.NamingException;
28: import javax.naming.ldap.Control;
29: import javax.naming.ldap.LdapReferralException;
30:
31: /**
32: * <p>Implementation of the class LdapReferralException. This class has the intention of
33: * give us an instance of the class to test it.</p>
34: *
35: */
36: public class MockLdapReferralException extends LdapReferralException {
37:
38: /**
39: * The serial to the class.
40: */
41: private static final long serialVersionUID = 1L;
42:
43: public MockLdapReferralException(String arg0) {
44: super (arg0);
45: // TODO Auto-generated constructor stub
46: }
47:
48: public MockLdapReferralException() {
49: super ();
50: // TODO Auto-generated constructor stub
51: }
52:
53: @Override
54: public Context getReferralContext() throws NamingException {
55: // TODO Auto-generated method stub
56: return null;
57: }
58:
59: @Override
60: public Context getReferralContext(Hashtable<?, ?> arg0)
61: throws NamingException {
62: // TODO Auto-generated method stub
63: return null;
64: }
65:
66: @Override
67: public Context getReferralContext(Hashtable<?, ?> arg0,
68: Control[] arg1) throws NamingException {
69: // TODO Auto-generated method stub
70: return null;
71: }
72:
73: @Override
74: public Object getReferralInfo() {
75: // TODO Auto-generated method stub
76: return null;
77: }
78:
79: @Override
80: public boolean skipReferral() {
81: // TODO Auto-generated method stub
82: return false;
83: }
84:
85: @Override
86: public void retryReferral() {
87: // TODO Auto-generated method stub
88:
89: }
90:
91: }
|