markdown


  • 锚点

  • 努力吧

  • 我的网站

  • 之前有个域名phifan.com没续费被抢了,之后又买了phifan.cn没续费被抢了,还剩下个plusnet.cn说什么也不能再丢掉了!

package com.android.volley;

/**
* Exception style class encapsulating Volley errors
*/
@SuppressWarnings("serial")
public class VolleyError extends Exception {
public final NetworkResponse networkResponse;
private long networkTimeMs; public VolleyError() {
networkResponse = null;
} public VolleyError(NetworkResponse response) {
networkResponse = response;
} public VolleyError(String exceptionMessage) {
super(exceptionMessage);
networkResponse = null;
} public VolleyError(String exceptionMessage, Throwable reason) {
super(exceptionMessage, reason);
networkResponse = null;
} public VolleyError(Throwable cause) {
super(cause);
networkResponse = null;
} /* package */ void setNetworkTimeMs(long networkTimeMs) {
this.networkTimeMs = networkTimeMs;
} public long getNetworkTimeMs() {
return networkTimeMs;
}
}
package com.android.volley;

/**
* Exception style class encapsulating Volley errors
*/
@SuppressWarnings("serial")
public class VolleyError extends Exception {
public final NetworkResponse networkResponse;
private long networkTimeMs; public VolleyError() {
networkResponse = null;
} public VolleyError(NetworkResponse response) {
networkResponse = response;
} public VolleyError(String exceptionMessage) {
super(exceptionMessage);
networkResponse = null;
} public VolleyError(String exceptionMessage, Throwable reason) {
super(exceptionMessage, reason);
networkResponse = null;
} public VolleyError(Throwable cause) {
super(cause);
networkResponse = null;
} /* package */ void setNetworkTimeMs(long networkTimeMs) {
this.networkTimeMs = networkTimeMs;
} public long getNetworkTimeMs() {
return networkTimeMs;
}
}

代码

    package com.android.volley;

/**
* Exception style class encapsulating Volley errors
*/
@SuppressWarnings("serial")
public class VolleyError extends Exception {
public final NetworkResponse networkResponse;
private long networkTimeMs; public VolleyError() {
networkResponse = null;
} public VolleyError(NetworkResponse response) {
networkResponse = response;
} public VolleyError(String exceptionMessage) {
super(exceptionMessage);
networkResponse = null;
} public VolleyError(String exceptionMessage, Throwable reason) {
super(exceptionMessage, reason);
networkResponse = null;
} public VolleyError(Throwable cause) {
super(cause);
networkResponse = null;
} /* package */ void setNetworkTimeMs(long networkTimeMs) {
this.networkTimeMs = networkTimeMs;
} public long getNetworkTimeMs() {
return networkTimeMs;
}
}

标题

end


不用cnblog了 以后换到 我得博客

最新文章

  1. 基于WCF MSMQ 的企业应用解决方案
  2. java分享第十天(http协议简介)
  3. 扩展Redis的Lua调用方式
  4. android ImageView 中的ScaleType
  5. poj 1236 Network of Schools(连通图)
  6. 跟着百度学PHP[4]OOP面对对象编程-6-封装性private
  7. Git Step by Step
  8. 【手把手教你Elmah】如何在MVC.NET项目中在线查看【错误日志】
  9. Android(java)学习笔记134:Handler用法总结 和 秒表案例
  10. JavaScript Garden2
  11. JS全部API笔记
  12. Linkedin工程师是如何优化他们的Java代码的(转)
  13. Provisioning profile 浅析
  14. 再起航,我的学习笔记之JavaScript设计模式23(中介者模式)
  15. [AtCoder arc090E]Avoiding Collision
  16. Linux下简易线程池
  17. Centos7 修改硬件时间和系统时间
  18. 使用fiddler模拟重复请求接口
  19. [日常工作]vCenter下虚拟机设置与宿主机时间同步的方法
  20. OpenCv练习

热门文章

  1. gtest 安装
  2. Spring3系列1 -- HelloWord例子
  3. npoi与memcached中的ICSharpCode.SharpZipLib版本冲突的解决方案
  4. Webstorm 11 注册/破解方法
  5. HiKey连接
  6. Github的基本配置与使用
  7. sencha touch api 使用指南
  8. WCF之常见异常整理(不断更新中...)
  9. WebKit内核分析之FrameLoader
  10. java攻城狮之路(Android篇)--与服务器交互