]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/PcdTools/org/tianocore/pcd/exception/EntityException.java
Restructuring for better separation of Tool packages.
[mirror_edk2.git] / Tools / Java / Source / PcdTools / org / tianocore / pcd / exception / EntityException.java
diff --git a/Tools/Java/Source/PcdTools/org/tianocore/pcd/exception/EntityException.java b/Tools/Java/Source/PcdTools/org/tianocore/pcd/exception/EntityException.java
new file mode 100644 (file)
index 0000000..5316cba
--- /dev/null
@@ -0,0 +1,31 @@
+/** @file\r
+  EntityException class.\r
+\r
+  The class handle the exception throwed by entity class.\r
\r
+Copyright (c) 2006, Intel Corporation\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution.  The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/   \r
+package org.tianocore.pcd.exception;\r
+\r
+/**\r
+  The class handle the exception throwed by entity class.\r
+**/\r
+public class EntityException extends Exception {\r
+    static final long serialVersionUID = -8034897190740066939L;\r
+    /**\r
+      Constructure function\r
+        \r
+      @param expStr exception message string.\r
+    **/\r
+    public EntityException(String expStr) {\r
+        super("[PCD Tool Internal Error]:" + expStr);\r
+    }\r
+}\r