| 1 | /* |
| 2 | * $Id: ApplyException.java,v 1.3 2004/05/25 21:04:38 hastings Exp $ |
| 3 | * |
| 4 | * (c) Copyright, Moebius Solutions, Inc., 2004 |
| 5 | * |
| 6 | * All Rights Reserved |
| 7 | * |
| 8 | * This material may be reproduced by or for the U. S. Government |
| 9 | * pursuant to the copyright license under the clause at |
| 10 | * DFARS 252.227-7014 (OCT 2001). |
| 11 | */ |
| 12 | |
| 13 | package com.moesol.generator.core; |
| 14 | |
| 15 | public class ApplyException extends Exception { |
| 16 | public ApplyException(Exception root_cause) { |
| 17 | this.root_cause = root_cause; |
| 18 | } |
| 19 | public ApplyException(String message) { |
| 20 | super(message); |
| 21 | } |
| 22 | public ApplyException(String message, Exception root_cause) { |
| 23 | super(message); |
| 24 | this.root_cause = root_cause; |
| 25 | } |
| 26 | public void setRootCause(Exception root_cause) { |
| 27 | this.root_cause = root_cause; |
| 28 | } |
| 29 | public Exception getRootCause() { |
| 30 | return root_cause; |
| 31 | } |
| 32 | |
| 33 | private Exception root_cause; |
| 34 | } |