Clover coverage report - Maven Clover report
Coverage timestamp: Tue Sep 16 2008 01:16:37 EEST
file stats: LOC: 61   Methods: 2
NCLOC: 12   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
WrappedParsingException.java - 0% 0% 0%
coverage
 1    /*
 2    wsmo4j - a WSMO API and Reference Implementation
 3   
 4    Copyright (c) 2005 University of Innsbruck, Austria
 5    2005 National University of Ireland, Galway
 6   
 7    This library is free software; you can redistribute it and/or modify it under
 8    the terms of the GNU Lesser General Public License as published by the Free
 9    Software Foundation; either version 2.1 of the License, or (at your option)
 10    any later version.
 11    This library is distributed in the hope that it will be useful, but WITHOUT
 12    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 13    FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 14    details.
 15    You should have received a copy of the GNU Lesser General Public License along
 16    with this library; if not, write to the Free Software Foundation, Inc.,
 17    59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 18    */
 19    package org.deri.wsmo4j.io.parser;
 20   
 21   
 22    /**
 23    * Wrapps Exception during parsing (traversing the sablecc AST tree).
 24    *
 25    * This exception is only used internally in the implementation of
 26    * the API and is not thrown to a "standard" user of the API.
 27    *
 28    * <pre>
 29    * Created on Jul 24, 2005
 30    * Committed by $Author$
 31    * $Source$,
 32    * </pre>
 33    *
 34    * @author Holger Lausen
 35    *
 36    * @version $Revision$ $Date$
 37    */
 38    public class WrappedParsingException
 39    extends RuntimeException {
 40    //change when changing class
 41    private static final long serialVersionUID = 3832903273446126645L;
 42   
 43    private Exception e;
 44   
 45    /**
 46    * @param e Exception forwarded to this WrappedParsingException
 47    */
 48  0 public WrappedParsingException(Exception e) {
 49  0 this.e = e;
 50    }
 51   
 52    /**
 53    * This method returns the orignial exception that was catched with creating the
 54    * WrappedParsingException
 55    *
 56    * @return Exception
 57    */
 58  0 public Exception getWrappedException() {
 59  0 return e;
 60    }
 61    }