From b24ce95c449285e14de1001036dee875a1db15e7 Mon Sep 17 00:00:00 2001 From: Kevin Glynn Date: Mon, 15 Aug 2011 19:34:41 +0200 Subject: [PATCH] Add (and reference) SystemException --- .../System/InvalidOperationException.java | 2 +- .../src/CS2JNet/System/SystemException.java | 46 +++++++++++++++++++ 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 CS2JLibrary/src/CS2JNet/System/SystemException.java diff --git a/CS2JLibrary/src/CS2JNet/System/InvalidOperationException.java b/CS2JLibrary/src/CS2JNet/System/InvalidOperationException.java index 7296bd1..ddf8323 100644 --- a/CS2JLibrary/src/CS2JNet/System/InvalidOperationException.java +++ b/CS2JLibrary/src/CS2JNet/System/InvalidOperationException.java @@ -24,7 +24,7 @@ package CS2JNet.System; * @author keving * */ -public class InvalidOperationException extends Exception { +public class InvalidOperationException extends SystemException { public InvalidOperationException() { diff --git a/CS2JLibrary/src/CS2JNet/System/SystemException.java b/CS2JLibrary/src/CS2JNet/System/SystemException.java new file mode 100644 index 0000000..7d50218 --- /dev/null +++ b/CS2JLibrary/src/CS2JNet/System/SystemException.java @@ -0,0 +1,46 @@ +/* + Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com) + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + Author(s): + + Kevin Glynn (kevin.glynn@twigletsoftware.com) +*/ + +package CS2JNet.System; + +/** + * @author keving + * + */ +public class SystemException extends Exception { + + public SystemException() { + + } + + public SystemException(String msg) { + super(msg); + } + + public SystemException(Throwable inner) { + super(inner); + } + + public SystemException(String msg, Throwable inner) { + super(msg, inner); + } + + +}