public String getToken( int nIndex ) throws ArrayIndexOutOfBoundsException { ... ArrayIndexOutOfBoundsException e = new ArrayIndexOutOfBoundsException ( ... ); throw e; ...