001//
002// Name
003//      $RCSfile: KeyIllegalKeyTypeError.java,v $
004// 
005// Copyright
006//      Confidential Property of Kabira Technologies, Inc.
007//      Copyright 2009, 2010 by Kabira Technologies, Inc.
008//      All rights reserved.
009//
010// History
011//      $Revision: 1.1.2.2 $ $Date: 2010/05/11 23:50:45 $
012//
013package com.kabira.platform;
014
015/**
016 * Exception thrown when a range query is attempted on an key
017 * that doesn't support the operation.
018 * <p>
019 * Examples include:
020 * <ul>
021 * <li>range query on a ordered=false key.</li>
022 * <li>single result on a unique=false key.</li> 
023 * </ul>
024 */
025public class KeyIllegalKeyTypeError extends KeyError
026{
027        /**
028         *      Serialization version.
029         */
030        public final static long serialVersionUID = 1L;
031
032        /**
033         *      Creates a KeyIllegalKeyTypeError exception.
034         */
035        public KeyIllegalKeyTypeError() { }
036
037        /**
038         *      Creates a KeyIllegalKeyTypeError exception.
039         *      @param  message String to include in the exception.
040         */
041        public KeyIllegalKeyTypeError(String message)
042        {
043                super(message);
044        }
045}