buildframework/helium/sf/java/core/src/com/nokia/helium/core/HlmAntLibException.java
changeset 628 7c4a911dc066
parent 588 c7c26511138f
child 629 541af5ee3ed9
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 
       
    18 package com.nokia.helium.core;
       
    19 
       
    20 /**
       
    21  * HlmAntlib exception handling class
       
    22  */
       
    23 public class HlmAntLibException extends RuntimeException {
       
    24 
       
    25     private static final long serialVersionUID = -2504337723465536053L;
       
    26 
       
    27     /**
       
    28      * Constructor
       
    29      * 
       
    30      * @param String
       
    31      *            exception message
       
    32      */
       
    33     public HlmAntLibException(String msg) {
       
    34         super("HlmAntLibException:generic:" + msg);
       
    35     }
       
    36 
       
    37     /**
       
    38      * Constructor
       
    39      * 
       
    40      * @param String
       
    41      *            module which throws the exception
       
    42      * @param String
       
    43      *            exception message
       
    44      */
       
    45     public HlmAntLibException(String module, String msg) {
       
    46         super("HlmAntLibException:" + module + ":" + msg);
       
    47     }
       
    48 }