diff options
Diffstat (limited to 'Tools/Java/Source/Common/org/tianocore/common/exception')
-rw-r--r-- | Tools/Java/Source/Common/org/tianocore/common/exception/EdkException.java | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/Tools/Java/Source/Common/org/tianocore/common/exception/EdkException.java b/Tools/Java/Source/Common/org/tianocore/common/exception/EdkException.java deleted file mode 100644 index 6d4fc52dae..0000000000 --- a/Tools/Java/Source/Common/org/tianocore/common/exception/EdkException.java +++ /dev/null @@ -1,49 +0,0 @@ -/*++
-
-Copyright (c) 2006, Intel Corporation
-All rights reserved. This program and the accompanying materials
-are licensed and made available under the terms and conditions of the BSD License
-which accompanies this distribution. The full text of the license may be found at
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
-Module Name:
- EdkException.java
-
-Abstract:
-
---*/
-
-package org.tianocore.common.exception;
-
-public class EdkException extends Exception {
- static final long serialVersionUID = -8494188017252114029L;
-
- public static boolean isPrintStack = false;
-
- public EdkException(String message) {
- super("[EdkException]:" + message);
- }
-
- public EdkException(String message, boolean traceStack) {
- super(message);
-
- }
-
- public EdkException(){
- super();
- }
-
- public EdkException(Exception e, String message){
- super("[EdkException]:" + message);
- if (isPrintStack){
- this.setStackTrace(e.getStackTrace());
- }
- e.printStackTrace();
- }
- public static void setIsprintStack (boolean flag){
- isPrintStack = flag;
- }
-}
|