Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

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.NoSuchFieldError
Óò²»´æÔÚ´íÎó¡£µ±Ó¦ÓÃÊÔÍ


Ïà¹ØÎĵµ£º

JavaÈçºÎÁ¬½ÓAccessÊý¾Ý¿â£¨Á½ÖÖ·½Ê½ÊµÀý´úÂ룩

import java.sql.*;
public class ConnectAccess {
/**
* ³õѧÕßÇë×¢Ò⣺
* 1:ÏȽ¨Á¢Ò»¸öaccessÎļþa1.mdb,²¢·ÅÔÚD:\ÏÂ;
* 2:ÔÚÊý¾Ý¿âÎļþa1.mdbÖн¨Á¢Ò»¸ö±íTable1£»
* 3£ºÎªTable1Ìí¼ÓÒ»ÁУ¬²¢²åÈëÖÁÉÙÒ»Ìõ¼Ç¼£»
* 4£º±¾ÎÄÊÇÒ»¸öÍêÕûµÄÀֱ࣬½ÓÄÃÈ¥ÔËÐоͿÉÒÔ¡£
*/
public static void main(Stri ......

java Ä£ÄâselectorµÄ¸½´ø¹¦ÄÜ

package com.event;
import java.util.Map;
public interface EventListener {
 void onEvent(Map event);
}
package com.socket;
import java.nio.ByteBuffer;
import java.util.HashMap;
import com.event.EventListener;
/*
 * Ô¤´¦ÀíÀà
 */
public class BaseObject {
 private boole ......

JAVA,ÈçºÎÅжϵãÊÇ·ñÔÚÃæÄÚ£¿

Ê×ÏÈÃæÒ²ÊÇÓÉһϵÁеĵã×é³É£¬±ÈÈ磬һ¸öÕý·½ÐΡ£ÎÒÃÇ¿ÉÒÔ°ÑËüµ±³ÉËĸö×ø±êµãÈ»ºóÖ±ÏßÁ¬½Ó¶ø³É¡£
java.awt.geom.GeneralPathΪÎÒÃÇʵÏÖµÄÕâ¸ö»­ÏߵŦÄÜ¡£
ÏÂÃæÓÃÒ»¸ö¼òµ¥µÄÀý×ÓÀ´»­Ò»¸öÃæ
/**
* ½«¾­Î³¶Èµã¼¯ºÏת»»ÎªGeneralPath¶ÔÏó
*
* @param points µã¼¯ºÏ(ÓÐÐò)
*
* @return GeneralPath¶ÔÏó
*/
public s ......

windows 7µÄjava»·¾³±äÁ¿

class_path
.;D:\Program Files\Java\jdk1.5.0_04\lib\tools.jar;D:\Program Files\Java\jdk1.5.0_04\lib\rt.jar;D:\Program Files\Java\jdk1.5.0_04\lib\dt.jar;
path
D:\Program Files\Java\jdk1.5.0_04\bin;D:\Program Files\Java\jre1.5.0_04\bin
java_home
D:\Program Files\Java\jdk1.5.0_04
ÒÔÉÏÅäÖÃÊÇÎÒ»úÆ÷µ ......

Java°æÐÇÇò´óÕ½ÓÎÏ·£¨ºáÏòÉä»÷£©

×¼±¸Öð²½ÕûÀíÒ»ÏÂÊÖÖеĵÚÈý·½JavaÓÎÏ·´úÂ룬½«ÄÜÓõIJ¿·ÖÈÚÈëµ½LGameÀïÈ¥£¬Ã»ÓÐÄÜÓò¿·ÖµÄ¾ÍÖ±½Óɾµô¡£
µ«ÎÞÂÛ³ÌʽÄÑÒ×ÈçºÎ£¬Ò²ÊÇÔ­×÷ÕßÒ»·¬ÐÄѪ£¬²»Ó¦½«ËüÃÇÆúÈç±ÖÂÄ£¬ËùÒÔÎÒ½«Ò»Ò»ÕûÀíºó·¢²¼µ½ÍøÉϱ£Áô£¨±ÜÃâʧ´«……£©£¬Ò²·½±ãÓÐÐèÒªµÄÅóÓѲο¼Ê¹Óá£
ÏÂÃæÉÏ´«µÄÊÇÒ»¸öJava°æºáÏòÉä»÷ÓÎÏ·£¬ËäÈ»´úÂë±È½ÏÁ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ