1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

Add (and reference) SystemException

This commit is contained in:
Kevin Glynn 2011-08-15 19:34:41 +02:00
parent f64f7d9e10
commit b24ce95c44
2 changed files with 47 additions and 1 deletions

View File

@ -24,7 +24,7 @@ package CS2JNet.System;
* @author keving
*
*/
public class InvalidOperationException extends Exception {
public class InvalidOperationException extends SystemException {
public InvalidOperationException() {

View File

@ -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);
}
}