com/scalagent/kjoram/excepts/JMSException.java

00001 /*
00002  * JORAM: Java(TM) Open Reliable Asynchronous Messaging
00003  * Copyright (C) 2001 - ScalAgent Distributed Technologies
00004  * Copyright (C) 1996 - Dyade
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  * Initial developer(s): Nicolas Tachker (ScalAgent)
00022  */
00023 package com.scalagent.kjoram.excepts;
00024 
00025 
00026 public class JMSException extends Exception {
00030   private static final long serialVersionUID = 1L;
00031   private String errorCode;
00032   private Exception linkedException;
00033   
00037   public JMSException(String info) {
00038     super(info);
00039   }
00040   
00041   public String getErrorCode() {
00042     return this.errorCode;
00043   }
00044   
00045   public Exception getLinkedException() {
00046     return (linkedException);
00047   }
00048 
00049   public  synchronized void setLinkedException(Exception exc) {
00050       linkedException = exc;
00051   }
00052 }

Generated on Tue Sep 16 16:14:23 2008 for joram by  doxygen 1.5.0