buildframework/helium/sf/java/metadata/src/com/nokia/helium/metadata/MetadataException.java
changeset 628 7c4a911dc066
equal deleted inserted replaced
588:c7c26511138f 628:7c4a911dc066
       
     1 /*
       
     2  * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of the License "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description:  
       
    15  *
       
    16  */
       
    17 package com.nokia.helium.metadata;
       
    18 
       
    19 /**
       
    20  * Defines any kind of errors happening inside the
       
    21  * Metadata framework. 
       
    22  *
       
    23  */
       
    24 public class MetadataException extends Exception {
       
    25 
       
    26     private static final long serialVersionUID = 1590168613632533680L;
       
    27 
       
    28     /**
       
    29      * Create an exception with an error message
       
    30      * @param message the error message
       
    31      */
       
    32     public MetadataException(String message) {
       
    33         super(message);
       
    34     }
       
    35 
       
    36     /**
       
    37      * Create an exception with an error message and a cause
       
    38      * @param message the error message
       
    39      * @param cause the root cause
       
    40      */
       
    41     public MetadataException(String message, Throwable cause) {
       
    42         super(message, cause);
       
    43     }
       
    44 }