Add comments.
[mirror_edk2.git] / Tools / Source / GenBuild / org / tianocore / build / exception / AutoGenException.java
CommitLineData
a29c47e0 1/** @file\r
2 AutoGenException class.\r
3\r
4 The class handle the exception throwed by entity class.\r
5 \r
6Copyright (c) 2006, Intel Corporation\r
7All rights reserved. This program and the accompanying materials\r
8are licensed and made available under the terms and conditions of the BSD License\r
9which accompanies this distribution. The full text of the license may be found at\r
10http://opensource.org/licenses/bsd-license.php\r
11 \r
12THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14\r
15**/ \r
16package org.tianocore.build.exception;\r
17\r
18\r
19/**\r
20 The class handle the exception throwed by entity class.\r
21**/\r
22public class AutoGenException extends GenBuildException {\r
a84091c4 23 static final long serialVersionUID = -8034897190740066939L;\r
a29c47e0 24 /**\r
25 Constructure function\r
26 \r
27 @param expStr exception message string.\r
28 **/\r
29 public AutoGenException(String expStr) {\r
96c9ae45 30 super(expStr);\r
a29c47e0 31 }\r
32 \r
33 public AutoGenException() {\r
96c9ae45 34\r
a29c47e0 35 }\r
96c9ae45 36\r
a29c47e0 37 public AutoGenException(Exception e, String messsge){\r
38 super(e, messsge);\r
39 }\r
40}