KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > config > backup > BackupAbortException


1 /*
2  * BackupAbortException.java
3  *
4  * Created on December 24, 2003, 10:03 AM
5  */

6
7 package com.sun.enterprise.config.backup;
8
9 /**
10  *
11  * @author sridatta
12  */

13 public class BackupAbortException extends RuntimeException JavaDoc {
14     private final String JavaDoc _code;
15     
16     /** Creates a new instance of BackupAbortException */
17     public BackupAbortException(String JavaDoc code, String JavaDoc msg) {
18         super(msg);
19         _code = code;
20     }
21     
22      public BackupAbortException(String JavaDoc code, String JavaDoc s, Exception JavaDoc e) {
23         super(s,e);
24         _code = code;
25     }
26     
27      public String JavaDoc getCode() {
28          return _code;
29      }
30 }
31
Popular Tags