JavaÖÐËùÓеÄÒì³£
ËãÊõÒì³£ÀࣺArithmeticExecption
¿ÕÖ¸ÕëÒì³£ÀࣺNullPointerException
ÀàÐÍÇ¿ÖÆת»»Òì³££ºClassCastException
Êý×鸺ϱêÒì³££ºNegativeArrayException
Êý×éϱêÔ½½çÒì³££ºArrayIndexOutOfBoundsException
Î¥±³°²È«ÔÔòÒì³££ºSecturityException
ÎļþÒѽáÊøÒì³££ºEOFException
ÎļþδÕÒµ½Òì³££ºFileNotFoundException
×Ö·û´®×ª»»ÎªÊý×ÖÒì³££ºNumberFormatException
²Ù×÷Êý¾Ý¿âÒì³££ºSQLException
ÊäÈëÊä³öÒì³££ºIOException
·½·¨Î´ÕÒµ½Òì³££ºNoSuchMethodException
java.lang.AbstractMethodError
³éÏó·½·¨´íÎó¡£µ±Ó¦ÓÃÊÔͼµ÷ÓóéÏó·½·¨Ê±Å׳ö¡£
java.lang.AssertionError
¶ÏÑÔ´í¡£ÓÃÀ´Ö¸Ê¾Ò»¸ö¶ÏÑÔʧ°ÜµÄÇé¿ö¡£
java.lang.ClassCircularityError
ÀàÑ»·ÒÀÀµ´íÎó¡£ÔÚ³õʼ»¯Ò»¸öÀàʱ£¬Èô¼ì²âµ½ÀàÖ®¼äÑ»·ÒÀÀµÔòÅ׳ö¸ÃÒì³£¡£
java.lang.ClassFormatError
Àà¸ñʽ´íÎó¡£µ±JavaÐéÄâ»úÊÔͼ´ÓÒ»¸öÎļþÖжÁÈ¡JavaÀ࣬¶ø¼ì²âµ½¸ÃÎļþµÄÄÚÈݲ»·ûºÏÀàµÄÓÐЧ¸ñʽʱÅ׳ö¡£
java.lang.Error
´íÎó¡£ÊÇËùÓдíÎóµÄ»ùÀ࣬ÓÃÓÚ±êʶÑÏÖصijÌÐòÔËÐÐÎÊÌâ¡£ÕâЩÎÊÌâͨ³£ÃèÊöһЩ²»Ó¦±»Ó¦ÓóÌÐò²¶»ñµÄ·´³£Çé¿ö¡£
java.lang.ExceptionInInitializerError
³õʼ»¯³ÌÐò´íÎó¡£µ±Ö´ÐÐÒ»¸öÀàµÄ¾²Ì¬³õʼ»¯³ÌÐòµÄ¹ý³ÌÖУ¬·¢ÉúÁËÒ쳣ʱÅ׳ö¡£¾²Ì¬³õʼ»¯³ÌÐòÊÇÖ¸Ö±½Ó°üº¬ÓÚÀàÖеÄstaticÓï¾ä¶Î¡£
java.lang.IllegalAccessError
Î¥·¨·ÃÎÊ´íÎó¡£µ±Ò»¸öÓ¦ÓÃÊÔͼ·ÃÎÊ¡¢ÐÞ¸Äij¸öÀàµÄÓò£¨Field£©»òÕßµ÷ÓÃÆä·½·¨£¬µ«ÊÇÓÖÎ¥·´Óò»ò·½·¨µÄ¿É¼ûÐÔÉùÃ÷£¬ÔòÅ׳ö¸ÃÒì³£¡£
java.lang.IncompatibleClassChangeError
²»¼æÈݵÄÀà±ä»¯´íÎó¡£µ±ÕýÔÚÖ´Ðеķ½·¨ËùÒÀÀµµÄÀඨÒå·¢ÉúÁ˲»¼æÈݵĸıäʱ£¬Å׳ö¸ÃÒì³£¡£Ò»°ãÔÚÐÞ¸ÄÁËÓ¦ÓÃÖеÄijЩÀàµÄÉùÃ÷¶¨Òå¶øûÓжÔÕû¸öÓ¦ÓÃÖØбàÒë¶øÖ±½ÓÔËÐеÄÇé¿öÏ£¬ÈÝÒ×Òý·¢¸Ã´íÎó¡£
java.lang.InstantiationError
ʵÀý»¯´íÎó¡£µ±Ò»¸öÓ¦ÓÃÊÔͼͨ¹ýJavaµÄnew²Ù×÷·û¹¹ÔìÒ»¸ö³éÏóÀà»òÕß½Ó¿ÚʱÅ׳ö¸ÃÒì³£.
java.lang.InternalError
ÄÚ²¿´íÎó¡£ÓÃÓÚָʾJavaÐéÄâ»ú·¢ÉúÁËÄÚ²¿´íÎó¡£
java.lang.LinkageError
Á´½Ó´íÎ󡣸ôíÎó¼°ÆäËùÓÐ×ÓÀàָʾij¸öÀàÒÀÀµÓÚÁíÍâһЩÀ࣬ÔÚ¸ÃÀà±àÒëÖ®ºó£¬±»ÒÀÀµµÄÀà¸Ä±äÁËÆäÀඨÒå¶øûÓÐÖØбàÒëËùÓеÄÀ࣬½ø¶øÒý·¢´íÎóµÄÇé¿ö¡£
java.lang.NoClassDefFoundError
δÕÒµ½ÀඨÒå´íÎó¡£µ±JavaÐéÄâ»ú»òÕßÀà×°ÔØÆ÷ÊÔͼʵÀý»¯Ä³¸öÀ࣬¶øÕÒ²»µ½¸ÃÀàµÄ¶¨ÒåʱÅ׳ö¸Ã´íÎó¡£
java.lang.NoSuc
Ïà¹ØÎĵµ£º
½ñÌìһͬѧ×ö¶«Î÷ÒªÓÃÕâ¸ö¶«¶«,¾Í°ïËûдÁËÒ»¸ö,ÏÈת»¯³Éºó׺±í´ïʽ,È»ºóÔÙ
¼ÆËã.µ±È»Ò²¿ÉÒÔÖ±½Ó¼ÆËãÖÐ׺±í´ïʽ,¿¼Âǵ½Òª¶àλÊý,¾ÍûÄÇô×ö.
Ö§³Ö¶àλÊýµÄ´øÀ¨ºÅµÄÕûÊýµÄ¼Ó¼õ³Ë³ý.
Java
´úÂë
package
edu.jlu.fuliang;
import
java
.util.ArrayList;
import
......
==========================================
xmlÎļþ
£¼?xml version="1.0" encoding="GB2312"?£¾
£¼RESULT£¾
£¼VALUE£¾
¡¡¡¡ £¼NO£¾A1234£¼/NO£¾
¡¡¡¡ £¼ADDR£¾ËÄ´¨Ê¡XXÏØXXÕòXX·X¶ÎXXºÅ£¼/ADDR£¾
£¼/VALUE£¾
£¼VALUE£¾
¡¡¡¡ £¼NO£¾B1234£¼/NO£¾
¡¡ ¡¡£¼ADDR£¾ËÄ´¨Ê¡XXÊÐXXÏçXX ......
¶ÔÓÚÕâ¸öϵÁÐÀïµÄÎÊÌ⣬ÿ¸öѧJavaµÄÈ˶¼Ó¦¸Ã¸ã¶®¡£µ±È»£¬Èç¹ûÖ»ÊÇѧJavaÍæÍæ¾ÍÎÞËùνÁË¡£Èç¹ûÄãÈÏΪ×Ô¼ºÒѾ³¬Ô½³õѧÕßÁË£¬È´²»ºÜ¶®ÕâЩÎÊÌ⣬Ç뽫Äã×Ô¼ºÖعé³õѧÕßÐÐÁС£ÄÚÈݾùÀ´×ÔÓÚCSDNµÄ¾µäÀÏÌù¡£
¡¡¡¡ÎÊÌâÒ»£ºÎÒÉùÃ÷ÁËʲô£¡
String s = "Hello world!";
¡¡¡¡Ðí¶àÈ˶¼×ö¹ýÕâÑùµÄÊÂÇ飬µ«ÊÇ£¬ÎÒÃǵ½µ×ÉùÃ÷ÁËʲô£¿ ......
´úÂë±àд¹æ·¶Ä¿µÄ£ºÄܹ»ÔÚ±àÂë¹ý³ÌÖÐʵÏֹ淶»¯£¬ÎªÒÔºóµÄ³ÌÐò¿ª·¢ÖÐÑø³ÉÁ¼ºÃµÄÐÐΪϰ¹ß¡£
´úÂë±àд¹æ·¶Ê¹Ó÷¶Î§£ºJ2EEÏîÄ¿¿ª·¢¡£
°üÃüÃû¹æ·¶£º
Ä¿µÄ£º°üµÄÃüÃû¹æ·¶Ó¦µ±ÌåÏÖ³öÏîÄ¿×ÊÔ´Á¼ºÃµÄ»®·Ö
servletÀàËùÔÚ°üÃüÃû¹æ·¶£º¹«Ë¾Ãû³Æ.¿ª·¢×éÃû³Æ.ÏîÄ¿Ãû³Æ.web.servlet
ÀýÈ磺net.linkcn.web.servlet
×Ô¶¨Òå± ......
ÉÐѧÌÃѧϰjava¸ÐÊÜ
¡¾Ñ§Ô±¹ÊÊ¡¿À´×ÔÉÐѧÌÃÕæÈËÕæÊ£¨www.bjsxt.com£©
±¾ÎÄ×÷Õߣ¬³É£¬ÊÇÒ»¸öÓÄĬµÄѧԱ£¬¼òµ¥¸ÅÒªÒ»ÏÂËûµÄÇé¿ö£¬ËûÊÇÊýѧϵµÄ£¬×ÔÉÐѧÌñÏÒµºóÔø¾ÍÒµÓÚÎÄ˼£¨ÑÇÂíÑ·£©ÏîÄ¿£¬ÏÖ¾ÍÖ°ÓÚÑÇÐŹ«Ë¾£¬Ã¿Ò»´ÎÌøÔ¾¶¼±ÈÒÔÇ°¸ü¸ß£¡
´Ó´óѧ±ÏÒµµ½ÔÙѧϰÔÙµ½¹¤×÷£¬¸ÕºÃ ......