001    /*
002     * Copyright 2009 Red Hat, Inc.
003     * Red Hat licenses this file to you under the Apache License, version
004     * 2.0 (the "License"); you may not use this file except in compliance
005     * with the License.  You may obtain a copy of the License at
006     *    http://www.apache.org/licenses/LICENSE-2.0
007     * Unless required by applicable law or agreed to in writing, software
008     * distributed under the License is distributed on an "AS IS" BASIS,
009     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
010     * implied.  See the License for the specific language governing
011     * permissions and limitations under the License.
012     */
013    
014    package org.hornetq.api.core;
015    
016    /**
017     * A PropertyConversionException is thrown by Message methods
018     * when a property can not be converted to the expected type.
019     *
020     * @author <a href="mailto:jmesnil@redhat.com">Jeff Mesnil</a>
021     *
022     * @see Message
023     *
024     */
025    public class PropertyConversionException extends RuntimeException
026    {
027    
028       // Constants -----------------------------------------------------
029    
030       private static final long serialVersionUID = -3010008708334904332L;
031    
032       // Attributes ----------------------------------------------------
033    
034       // Static --------------------------------------------------------
035    
036       // Constructors --------------------------------------------------
037    
038    
039       public PropertyConversionException(final String message)
040       {
041          super(message);
042       }
043    
044       // Public --------------------------------------------------------
045    
046       // Package protected ---------------------------------------------
047    
048       // Protected -----------------------------------------------------
049    
050       // Private -------------------------------------------------------
051    
052       // Inner classes -------------------------------------------------
053    
054    }