From d386dc9c39f292fe6a1d260e3a394664ef8469d9 Mon Sep 17 00:00:00 2001 From: Ulrik Sandberg Date: Tue, 9 Jan 2007 23:18:50 +0000 Subject: [PATCH] Preparing to replace the exceptions. --- .../support/UncategorizedLdapException.java | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 spring-ldap/src/main/java/org/springframework/ldap/support/UncategorizedLdapException.java diff --git a/spring-ldap/src/main/java/org/springframework/ldap/support/UncategorizedLdapException.java b/spring-ldap/src/main/java/org/springframework/ldap/support/UncategorizedLdapException.java new file mode 100644 index 00000000..03575c9c --- /dev/null +++ b/spring-ldap/src/main/java/org/springframework/ldap/support/UncategorizedLdapException.java @@ -0,0 +1,36 @@ +/* + * Copyright 2002-2005 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.springframework.ldap.support; + +import org.springframework.dao.UncategorizedDataAccessException; + +/** + * Indicates that an unknown NamingException has occurred. + * + * @author Mattias Arthursson + * @deprecated Should be replaced with {@link org.springframework.ldap.support.UncategorizedLdapException} + */ +public class UncategorizedLdapException extends + UncategorizedDataAccessException { + + private static final long serialVersionUID = -3319936235493869823L; + + public UncategorizedLdapException(String msg, Throwable cause) { + super(msg, cause); + } + +}