| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| ContextException |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * Copyright (C) 1998-2000 Semiotek Inc. All Rights Reserved. | |
| 3 | * | |
| 4 | * Redistribution and use in source and binary forms, with or without | |
| 5 | * modification, are permitted under the terms of either of the following | |
| 6 | * Open Source licenses: | |
| 7 | * | |
| 8 | * The GNU General Public License, version 2, or any later version, as | |
| 9 | * published by the Free Software Foundation | |
| 10 | * (http://www.fsf.org/copyleft/gpl.html); | |
| 11 | * | |
| 12 | * or | |
| 13 | * | |
| 14 | * The Semiotek Public License (http://webmacro.org/LICENSE.) | |
| 15 | * | |
| 16 | * This software is provided "as is", with NO WARRANTY, not even the | |
| 17 | * implied warranties of fitness to purpose, or merchantability. You | |
| 18 | * assume all risks and liabilities associated with its use. | |
| 19 | * | |
| 20 | * See www.webmacro.org for more information on the WebMacro project. | |
| 21 | */ | |
| 22 | ||
| 23 | ||
| 24 | package org.webmacro; | |
| 25 | ||
| 26 | /** | |
| 27 | * The context supplied to a macro did not contain information that | |
| 28 | * the macro required in order to write or evaluate itself, or there | |
| 29 | * was some problem with the way the Context was used. | |
| 30 | */ | |
| 31 | public class ContextException extends WebMacroException | |
| 32 | { | |
| 33 | ||
| 34 | private static final long serialVersionUID = 1L; | |
| 35 | ||
| 36 | public ContextException () | |
| 37 | { | |
| 38 | 0 | super(); |
| 39 | 0 | } |
| 40 | ||
| 41 | public ContextException (String reason) | |
| 42 | { | |
| 43 | 48 | super(reason); |
| 44 | 48 | } |
| 45 | ||
| 46 | public ContextException (String reason, Throwable e) | |
| 47 | { | |
| 48 | 10 | super(reason, e); |
| 49 | 10 | } |
| 50 | ||
| 51 | } |