Package org.apache.directory.shared.ldap.model.exception

Examples of org.apache.directory.shared.ldap.model.exception.LdapOtherException


            subentries.close();
        }
        catch ( Exception e )
        {
            throw new LdapOtherException( e.getMessage(), e );
        }
        finally
        {
            try
            {
View Full Code Here


            // The AP must be the parent Dn, but we also have to check that the given Dn
            // is not the rootDSE or a NamingContext
            if ( dn.isRootDse() || isNamingContext( dn ) )
            {
                // Not allowed : we can't get a parent in those cases
                throw new LdapOtherException( "Cannot find an AdministrativePoint for " + dn );
            }

            // Get the administrativePoint role : we must have one immediately
            // upper
            Dn apDn = dn.getParent();
View Full Code Here

            return clonedRegistries;
        }
        catch ( CloneNotSupportedException cnse )
        {
            throw new LdapOtherException( cnse.getMessage() );
        }
    }
View Full Code Here

            addNameForms( schema, registries );
            addDitStructureRules( schema, registries );
        }
        catch ( IOException ioe )
        {
            throw new LdapOtherException( ioe.getMessage() );
        }

        // TODO Add some listener handling at this point
        //notifyListenerOrRegistries( schema, registries );
    }
View Full Code Here

                {
                    clonedRegistries = registries.clone();
                }
                catch ( CloneNotSupportedException cnse )
                {
                    throw new LdapOtherException( cnse.getMessage() );
                }

                // Inject the new SchemaObject in the cloned registries
                clonedRegistries.add( errors, copy );
View Full Code Here

                {
                    clonedRegistries = registries.clone();
                }
                catch ( CloneNotSupportedException cnse )
                {
                    throw new LdapOtherException( cnse.getMessage() );
                }

                // Delete the SchemaObject from the cloned registries
                clonedRegistries.delete( errors, toDelete );
View Full Code Here

                    cnt++;
                }
            }
            catch ( Exception e )
            {
                throw new LdapOtherException( e.getMessage(), e );
            }
        }
        finally
        {
            if ( results != null )
View Full Code Here

                    attributeTypeList.add( result );
                }
            }
            catch ( Exception e )
            {
                throw new LdapOtherException( e.getMessage(), e );
            }
        }

        return attributeTypeList;
    }
View Full Code Here

                    comparatorList.add( entry );
                }
            }
            catch ( Exception e )
            {
                throw new LdapOtherException( e.getMessage(), e );
            }
        }

        return comparatorList;
    }
View Full Code Here

                    matchingRuleList.add( entry );
                }
            }
            catch ( Exception e )
            {
                throw new LdapOtherException( e.getMessage(), e );
            }
        }

        return matchingRuleList;
    }
View Full Code Here

TOP

Related Classes of org.apache.directory.shared.ldap.model.exception.LdapOtherException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.