当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

    摘要: 为什么有的编译器,能编译通过,而有的要报错呢? 有没有什么讲究? 《汇编语言程序设计》中用的是哪个编译器? 有没有相关编译器说明的网站? 谢谢。 ......
 ·如何更新blob类型数据    »显示摘要«
    摘要: 后台数据库为sql server2000,有一个表中包含一个text字段,与pb中对应的数据类型为blob,但是在更新数据库时候,无法成功,不知何故,代码段如下: blob lb_zw string ls_id lb_zw = blob(...) ls_id = ... ...... updateblob t_kyxx set wz_zw = :lb_zw where wz_id = :l......


请大家帮忙解释一下这是什么异常

我在用JavaMail做收邮件的程序时,有时会出现这样一个异常,我不知道这是什么意思,为什么会产生。请大家帮心解释一下  
   
  type   Exception   report  
   
  message   Internal   Server   Errordescription   The   server   encountered   an   internal   error   (Internal   Server   Error)   that   prevented   it   from   fulfilling   this   request.  
   
  exception   java.lang.ClassCastException  
    at   org.apache.jsp.receive$jsp._jspService(receive$jsp.java:104)  
    at   org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)  
    at   javax.servlet.http.HttpServlet.service(HttpServlet.java:853)  
    at   org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)  
      .  
      .  
      .  
      .  
 

NO.1   作者: ejbcreate

exception   java.lang.ClassCastException  
  ~~~造型错误,也就是:例如我有一个方法(getA())返回一个对象A,而你却把他造型为B对象,于是就产生这样的错误了。  
  ...  
  public   A   getA()  
  {  
      ...  
        return   lA;//  
  }  
  ....  
   
  A   lAA   =   null;  
  lAA   =   (B)getA();


 ·快来帮忙,救    »显示摘要«
    摘要: “梦无眼,空余怨,千回百转忆当年,冰已成水水失莲。”这是谁写的?出自哪儿?? ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE