| | |
| | | |
| | | |
| | | |
| | | import static com.sun.opends.sdk.messages.Messages.*; |
| | | import static com.sun.opends.sdk.messages.Messages.WARN_ATTR_SYNTAX_ILLEGAL_INTEGER; |
| | | |
| | | import org.opends.sdk.ByteSequence; |
| | | import org.opends.sdk.ByteString; |
| | |
| | | |
| | | |
| | | /** |
| | | * This class defines the integerOrderingMatch matching rule defined in |
| | | * X.520 and referenced in RFC 4519. |
| | | * This class defines the integerOrderingMatch matching rule defined in X.520 |
| | | * and referenced in RFC 4519. |
| | | */ |
| | | final class IntegerOrderingMatchingRuleImpl extends |
| | | AbstractOrderingMatchingRuleImpl |
| | | { |
| | | |
| | | public ByteString normalizeAttributeValue(Schema schema, |
| | | ByteSequence value) throws DecodeException |
| | | public ByteString normalizeAttributeValue(final Schema schema, |
| | | final ByteSequence value) throws DecodeException |
| | | { |
| | | try |
| | | { |
| | |
| | | StaticUtils.DEBUG_LOG.throwing("IntegerOrderingMatchingRule", |
| | | "normalizeAttributeValue", e); |
| | | |
| | | final LocalizableMessage message = |
| | | WARN_ATTR_SYNTAX_ILLEGAL_INTEGER.get(value.toString()); |
| | | final LocalizableMessage message = WARN_ATTR_SYNTAX_ILLEGAL_INTEGER |
| | | .get(value.toString()); |
| | | throw DecodeException.error(message); |
| | | } |
| | | } |