failÊÇʲôÒâ˼
fail Ò»´Ê¾ßÓжàÖÖ¼ÄÒ壺1. ʧ°Ü£»2. ȱ·¦¸ñ£»3. ×èÖ¹ÔË×÷£»4. ÅÌËã»úÊõÓïÖеĹýʧ»ò¹ÊÕÏ£»5. ¿ÚÓï̾ϢÌåÏÖʧÍû¡£
Fail µÄ¼ÄÒå
Fail Ò»´ÊÔÚÓ¢ÓïÖÐÓжàÖÖ¼ÄÒ壬Ïêϸ¼ÄÒåÈ¡¾öÓÚÉÏÏÂÎÄ¡£
1. ʧ°Ü
ÕâÊÇ fail ×î³£¼ûµÄ¼ÄÒå¡£ËüָδÄִܵïÔ¤ÆÚÄ¿µÄ»òµÖ´ïÓ¦Óеıê×¼¡£ÀýÈ磺
СÃ÷ÔÚÊýѧ¿¼ÊÔÖп¼ÁËȱ·¦¸ñ (fail)¡£
¹«Ë¾Ã»ÄִܵïÆäÏúÊÛÄ¿µÄ (failed)¡£
2. ȱ·¦¸ñ
Fail Ò²¿ÉÒÔÖ¸ÔÚ¿¼ÊÔ»òÆÀ¹ÀÖзÖÊýµÍÓÚ¼°¸ñÏß¡£ÀýÈ磺
С»ªÓ¢Óï¿Îȱ·¦¸ñ (failed)¡£
Õâ¸öÏîĿȱ·¦¸ñ (failed)¡£
3. ×èÖ¹ÔË×÷
Fail »¹¿Éָװ±¸»òϵͳ×èÖ¹Õý³£ÔË×÷¡£ÀýÈ磺
ÎҵĵçÄÔ»µÁË (failed)¡£
µçÔ´·ºÆðÁ˹ÊÕÏ (failed)¡£
4. ÅÌËã»úÊõÓï
ÔÚÅÌËã»ú¿ÆѧÖУ¬fail ¿ÉÒÔÖ¸ÒÔϼ¸ÖÖÇéÐΣº
º¯Êý»òÒªÁì·µ»ØÒ»¸ö¹ýʧ»òÒì³£¡£
²âÊÔÓÃÀýδÄÜͨ¹ý¡£
ϵͳ»ò×é¼þ·ºÆð¹ÊÕÏ¡£
5. ¿ÚÓï
ÔÚ·ÇÕýʽ¿ÚÓïÖУ¬fail ¿ÉÒÔÓÃ×÷̾Ϣ´Ê£¬ÌåÏÖʧÍû¡¢¾ªÑÈ»òÄÕÅ¡£ÀýÈ磺
ÍÛ£¬ÎÒ¿¼ÊÔû¼°¸ñ (failed)£¡
ÄãÕâÑù×öÈÃÎÒºÜʧÍû (fail)£¡
×¢ÖØ£ºfail µÄ¼ÄÒåÈ¡¾öÓÚÏêϸÓï¾³£¬¿ÉÒÔÊÇÃû´Ê£¨ÀýÈ磬ʧ°Ü£©¡¢¶¯´Ê£¨ÀýÈ磬ȱ·¦¸ñ£©¡¢ÐÎÈÝ´Ê£¨ÀýÈ磬ȱ·¦¸ñ£©»ò̾Ϣ´Ê£¨ÀýÈ磬ʧÍû£©¡£
ÒÔÉϾÍÊÇfailÊÇʲôÒâ˼µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡