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:
parent
f64f7d9e10
commit
b24ce95c44
@ -24,7 +24,7 @@ package CS2JNet.System;
|
|||||||
* @author keving
|
* @author keving
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class InvalidOperationException extends Exception {
|
public class InvalidOperationException extends SystemException {
|
||||||
|
|
||||||
public InvalidOperationException() {
|
public InvalidOperationException() {
|
||||||
|
|
||||||
|
46
CS2JLibrary/src/CS2JNet/System/SystemException.java
Normal file
46
CS2JLibrary/src/CS2JNet/System/SystemException.java
Normal 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);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user