You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xiaomi/src/net/micode/notes/gtask/exception/NetworkFailureException.java

44 lines
2.2 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/*
* 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.
*/
// 版权声明2010-2011年MiCode开源社区www.micode.net
// 根据Apache License 2.0(“许可证”)授权;
// 除非遵守许可证,否则不得使用此文件。
// 您可以在以下网址获得许可证:
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// 除非适用法律要求或书面同意,根据许可证分发的软件按“原样”分发,
// 不提供任何明示或暗示的保证或条件。
// 请参阅控制权限和限制的许可证具体语言。
package net.micode.notes.gtask.exception;
// 定义包名为net.micode.notes.gtask.exception。
public class NetworkFailureException extends Exception {
private static final long serialVersionUID = 2107610287180234136L;
// 定义一个公共类NetworkFailureException它继承自Exception。
// 定义一个私有的静态最终字段serialVersionUID值为2107610287180234136L。
public NetworkFailureException() {
super();
}
// 定义NetworkFailureException类的无参数构造函数调用父类的无参数构造函数。
public NetworkFailureException(String paramString) {
super(paramString);
}
// 定义NetworkFailureException类的一个构造函数接收一个字符串参数paramString并将其传递给父类的构造函数。
public NetworkFailureException(String paramString, Throwable paramThrowable) {
super(paramString, paramThrowable);
}
// 定义NetworkFailureException类的一个构造函数接收一个字符串参数paramString和一个Throwable类型的参数paramThrowable并将它们传递给父类的构造函数。
}