| | |
| | | final AttributeDescription ad = mappings.adDecodeMap.get(adId); |
| | | if (ad == null) |
| | | { |
| | | throw new DirectoryException(DirectoryServer.getServerErrorResultCode(), |
| | | throw new DirectoryException(DirectoryServer.getCoreConfigManager().getServerErrorResultCode(), |
| | | ERR_COMPRESSEDSCHEMA_UNRECOGNIZED_AD_TOKEN.get(adId)); |
| | | } |
| | | |
| | |
| | | Map<ObjectClass, String> ocMap = mappings.ocDecodeMap.get(ocId); |
| | | if (ocMap == null) |
| | | { |
| | | throw new DirectoryException(DirectoryServer.getServerErrorResultCode(), |
| | | throw new DirectoryException(DirectoryServer.getCoreConfigManager().getServerErrorResultCode(), |
| | | ERR_COMPRESSEDSCHEMA_UNKNOWN_OC_TOKEN.get(ocId)); |
| | | } |
| | | return ocMap; |