/* *Copyright(c)2007,2014,Oracleand/oritsaffiliates.Allrightsreserved. *DONOTALTERORREMOVECOPYRIGHTNOTICESORTHISFILEHEADER. * *Thiscodeisfreesoftware;youcanredistributeitand/ormodifyit *underthetermsoftheGNUGeneralPublicLicenseversion2only,as *publishedbytheFreeSoftwareFoundation. java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *Thiscodeisdistributedinthehopethatitwillbeuseful,butWITHOUT *WARRANTYevenimpliedwarrantyofMERCHANTABILITYor *FITNESSFORAPARTICULARPURPOSE.SeetheGNUGeneralPublicLicense *version2formoredetails(acopyisincludedintheLICENSEfilethat *accompaniedthiscode). *You2 alongjava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 73 *2alongwiththiswork;ifnot,writetotheFreeSoftwareFoundation, *Inc.,51FranklinSt,FifthFloor,Boston,MA02110-1301USA. * *contactOracleParkwayRedwoodShores,CA94065 *orvisitwww.oracle.comifyouneedadditionalinformationorhaveany *questions.
*/
import
/* *@test *@summaryCheckthatAWTExceptioncanbeinheadlessjava.lang.StringIndexOutOfBoundsException: Range [67, 68) out of bounds for length 67 **rmain/hervm-java..=
*/
publicclass HeadlessAWTException {
publicstaticvoid main (String[] args) {
AWTException e = new AWTException("aa");
}
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.