JonasAdminException.java

00001 /*
00002  * JOnAS: Java(TM) Open Application Server
00003  * Copyright (C) 1999 Bull S.A.
00004  * Contact: jonas-team@objectweb.org
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2.1 of the License, or any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this library; if not, write to the Free Software
00018  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
00019  * USA
00020  *
00021  * --------------------------------------------------------------------------
00022  * $Id: JonasAdminException.java,v 1.1 2003/08/28 16:24:03 antonma Exp $
00023  * --------------------------------------------------------------------------
00024  */
00025 
00026 package org.objectweb.jonas.webapp.jonasadmin;
00027 
00028 import org.objectweb.jonas.service.ServiceException;
00029 
00037 public class JonasAdminException extends ServiceException {
00038 // --------------------------------------------------------- Protected variables
00039 
00043     protected String m_Id = null;
00044 
00045 // --------------------------------------------------------- Public Methods
00046 
00047     public JonasAdminException(String p_Id, String p_Message, Throwable p_Throwable) {
00048         super(p_Message, p_Throwable);
00049         m_Id = p_Id;
00050     }
00051 
00052     public JonasAdminException(String p_Id, String p_Message) {
00053         super(p_Message);
00054         m_Id = p_Id;
00055     }
00056 
00057     public JonasAdminException(String p_Id) {
00058         super("");
00059         m_Id = p_Id;
00060     }
00061 
00066     public String getId() {
00067         return m_Id;
00068     }
00069 
00070 }

Generated on Tue Feb 15 15:05:26 2005 for JOnAS by  doxygen 1.3.9.1