zhangying
git1 4 hours ago
parent 2258d7fe83
commit 12138f8035

@ -0,0 +1,88 @@
/*
* Copyright (c) 2010-2011, The MiCode Open Source Community (www.micode.net)
*
* 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.
*/
/*
NetworkFailureException Java Exception
net.micode.notes.gtask.exception 使 Apache 2.0
*/
//包声明导入
//这行代码声明了类 NetworkFailureException 所在的包:
// net.micode.notes.gtask.exception。包用于组织类和接口避免命名冲突并可以根据需要进行访问控制。
package net.micode.notes.gtask.exception;
/*
NetworkFailureException Exception checked exception
Exception try-catch throws
*/
public class NetworkFailureException extends Exception {
/*
serialVersionUID
I/O serialVersionUID
InvalidClassException
*/
private static final long serialVersionUID = 2107610287180234136L;
/*
Exception
*/
public NetworkFailureException() {
super();
}
/*
paramString Exception
*/
public NetworkFailureException(String paramString) {
super(paramString);
}
/*
Throwable paramThrowable
Throwable Exception Error
*/
public NetworkFailureException(String paramString, Throwable paramThrowable) {
super(paramString, paramThrowable);
}
}
/*
Checked Exception
NetworkFailureException Exception checked exception RuntimeException
NetworkFailureException throws
使
NetworkFailureException
访 NetworkFailureException
/
NetworkFailureException Exception
Exception
*/
Loading…
Cancel
Save