X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Tools%2FSource%2FCommon%2Forg%2Ftianocore%2Fexception%2FEdkException.java;fp=Tools%2FSource%2FCommon%2Forg%2Ftianocore%2Fexception%2FEdkException.java;h=0000000000000000000000000000000000000000;hp=bd143d860af6cc0e4f869bda171b4edfd66d9248;hb=3b614fb901dce0c0656375a37e9d152585ebf0cf;hpb=04c40e04a992349195077343a0fef613c55d7e7e diff --git a/Tools/Source/Common/org/tianocore/exception/EdkException.java b/Tools/Source/Common/org/tianocore/exception/EdkException.java deleted file mode 100644 index bd143d860a..0000000000 --- a/Tools/Source/Common/org/tianocore/exception/EdkException.java +++ /dev/null @@ -1,48 +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.exception; - -public class EdkException extends Exception { - static final long serialVersionUID = -8494188017252114029L; - private StackTraceElement[] stackTrace; - 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; - } -}