]>
Commit | Line | Data |
---|---|---|
a29c47e0 | 1 | /** @file\r |
2 | TianoToolsException 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 | |
136adffc | 18 | import org.tianocore.exception.EdkException;\r |
a29c47e0 | 19 | \r |
20 | /**\r | |
21 | The class handle the exception throwed by entity class.\r | |
22 | **/\r | |
23 | public class TianoToolsException extends EdkException {\r | |
a84091c4 | 24 | static final long serialVersionUID = -8034897190740066935L;\r |
a29c47e0 | 25 | /**\r |
26 | Constructure function\r | |
27 | \r | |
28 | @param expStr exception message string.\r | |
29 | **/\r | |
30 | public TianoToolsException(String expStr) {\r | |
31 | super("[TianoToolsException]:" + expStr);\r | |
32 | }\r | |
33 | \r | |
34 | public TianoToolsException() {\r | |
35 | super();\r | |
36 | }\r | |
37 | \r | |
38 | public TianoToolsException (Exception e, String message){\r | |
136adffc | 39 | super(e, message);\r |
a29c47e0 | 40 | }\r |
41 | }\r |