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