| | |
| | | try { |
| | | attributeType = schema.getAttributeType(oid); |
| | | } catch (final UnknownSchemaElementException e) { |
| | | // This isn't good because it means that the DIT content |
| | | // rule |
| | | // requires an attribute type that we don't know anything |
| | | // about. |
| | | // This isn't good because it means that the DIT content rule |
| | | // requires an attribute type that we don't know anything about. |
| | | final LocalizableMessage message = |
| | | ERR_ATTR_SYNTAX_DCR_UNKNOWN_REQUIRED_ATTR1.get(getNameOrOID(), oid); |
| | | throw new SchemaException(message, e); |
| | |
| | | try { |
| | | attributeType = schema.getAttributeType(oid); |
| | | } catch (final UnknownSchemaElementException e) { |
| | | // This isn't good because it means that the DIT content |
| | | // rule |
| | | // requires an attribute type that we don't know anything |
| | | // about. |
| | | // This isn't good because it means that the DIT content rule |
| | | // requires an attribute type that we don't know anything about. |
| | | final LocalizableMessage message = |
| | | ERR_ATTR_SYNTAX_DCR_UNKNOWN_OPTIONAL_ATTR1.get(getNameOrOID(), oid); |
| | | throw new SchemaException(message, e); |
| | |
| | | try { |
| | | attributeType = schema.getAttributeType(oid); |
| | | } catch (final UnknownSchemaElementException e) { |
| | | // This isn't good because it means that the DIT content |
| | | // rule |
| | | // requires an attribute type that we don't know anything |
| | | // about. |
| | | // This isn't good because it means that the DIT content rule |
| | | // requires an attribute type that we don't know anything about. |
| | | final LocalizableMessage message = |
| | | ERR_ATTR_SYNTAX_DCR_UNKNOWN_PROHIBITED_ATTR1.get(getNameOrOID(), oid); |
| | | throw new SchemaException(message, e); |