Getting error in continue statement

Hi All,
When i am writing the following code in java then i am getting syntex error in continue statement...
Kindly tell me whyi am getting this one...
package com.fidelity.ereview.utils;
import java.io.*;
* @author 197881
public class Sunita {
      * @param args
     public static void main(String[] args) throws IOException {
          test: System.out
                    .print("Enter The Report Name to Generate(DataValidationReport/ErrorReport/ComparisionReport) : ");
          BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
          String reportName = br.readLine();
          if (reportName.equalsIgnoreCase("DataValidationReport")
                    || reportName.equalsIgnoreCase("ErrorReport")) {
               FileWriter f0 = new FileWriter("D:/TCS/" + reportName + "");
          } else {
               System.out.println("Please Enter Correct Report Name");
               continue test;
}

You need to be in some "loop" to use that:
public static void main(String[] args) {
test:
    while(true) {
        if (something) {
            continue test;
}But I wouldn't advise it.

Similar Messages

  • When trying to sync I am getting error 13019 which states unable to sync....

    I am trying to sync my iPod in iTunes and I keep getting error 13019 which states unable to sync.  iTunes is updated.

    Same exact thing here, except I have a Nano 5th Gen. Just updated iTunes, and now I am getting the 13019 message, even after restoring to default settings. I've been searching in vain for a fix that WORKS. (Plenty are online, but no luck with several I've tried ...)  Good luck to us both.

  • Getting error message that states itunesexe has been set to run in compatibilty mode for an older versions of windows for best results turn off compatibility mode for itunes before you open it .How do i turn off compatibility mode?

    recieved error message that states" itunes exe has been set to run in compatibility mode for an older versions of windows for best results turn off compatibility mode for itunes before you open it. How do i access compatibility mode and turn it off ? Believe i have Windows 7.

    Try the following document, only be sure that none of the boxes in the compatibility tab are checked (not just the compatibility mode box itself): 
    iTunes for Windows: How to turn off Compatibility Mode

  • Photoshop CS4 - getting error message that states: Could not complete your request because of a program error. Getting this message when

    Could not complete your request because of a program error. Getting error message every time I open the program and try to do anything. Have to Force Quit to close. Using a Mac. Your expertise is appreciated!!

    Have you tried removing all 3rd party plug-ins?
    Also, resetting preferences to defaults may help...  Press and hold Command - Shift - Option immediately upon cold-starting Photoshop. If you get the keys down quickly enough - and you have to be really quick - it will prompt you to confirm deletion of your current preferences, which will lead to the establishment of a fresh default set. If it does not prompt you, you haven't been quick enough to get the keys down.
    -Noel

  • Getting error with SQL statement

    Hi I am getting these error java.sql.SQLException: Non supported SQL92 at the time time of executing the query.
    select distinct state from cities where country = ${COUNTRY}
    this query is using in my JasperReport tool. Why I am getting this error could any one tell me solution for this error.

    These two articles could also help you...
    http://developers.sun.com/prodtech/javatools/jscreator/reference/techart/2/sql_parameters.html
    http://developers.sun.com/prodtech/javatools/jscreator/reference/tips/2/queryeditor.html
    Regards,
    Sakthi

  • When i try to use eprint app on iphone get error message " current state aborted"

    Just purchased hp Photosmart 6520 and want to print from my Iphone 4S.  Installed HP eprint app but everytime try to print an email goes through these steps:  1. Says sent successful with green checkmark 2. Changes screen and has red triangle with exclamation point "Error".  3.  Click on that and says "Current state is aborted"

    I understand you are trying to use the ePrint app but if you are having trouble getting it to work. I would just forward the email to the printer's email address then it should print.
    Let me know how it goes.

  • SDK Photoshop CS5 : Get errors and continue task

    Hello,
    I have a script which applies any functions to contratct, expand, and any other ones...
    I have any thousands images to process. Sometines, there are images which can't be processed.
    I want to continue with the next image when there is a problem but to get the error and to know which image has a problem.
    How can I do that?
    Thanks a lot
    PS : sorry for my bad english...

    In your loop that you process the image files make the actual process a function. Try it and catch any unexpected error and ignore it. Maybe something like this might work
    for (var i = 0; i < fileList.length; i++) {
          try { processImage(fileList[i]); } // try to process images files catch and ignore errors
          catch(e) { }
    Just a guess... You could also log errors (e + ': on line ' + e.line + " processing ffile: " + fileList[i] ) in the catch and after the last files is processed if there were errors list all the files that failed with the associated error messages.

  • Illustrator cs6 is getting error 1 continuously!

    Hi,
    Yeh, I know the topic is just old and everyone has spoken about it but my problem is different.
    I have DELL Latitude E6410 32 bit and my Adobe Illustrator cs6 is just giving me error 16 on normal double clicking and error 1 on run as administrator. I installed, re-installed, re re installed and re re re re... installed but nothing happens.. Everytime when I install it works fine but certainly the next day error shows up.
    Note: I have Adobe Photoshop cs6 too and its just perfectly working fine.. I can see a small shield icon attached with PS logo on desktop but couldn't get shield icon with Illustrator cs6... I think Adobe illustrator is not working with admin and that's why problem is occurring..
    Please I'm just fed up of this and I had to write on Adobe forum to get help!
    Please don't disappoint me please..
    Abrar

    Abrar,
    Did you reinstall using the full three step way (otherwise strange things may linger)?
    Uninstall (ticking the box to delete the preferences), run the Cleaner Tool, and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html
    Have you tried things like this?
    How To Fix Adobe Illustrator Error 16
    Still pondering.
    I will alert the first forum staff friend to appear.

  • Getting error in select statement

    hi,
    i am getting an error in below select query .
    when using the addition for all entries in itab,the fields objkt and gt_fin-matnr must have the same type and length.
    why please tell me??everything is perfect matching here ..
    SELECT   aennr
             objkt
             cclck
             FROM aeoi
                  INTO  TABLE gt_aeoi1
                  FOR ALL ENTRIES IN gt_fin
                  WHERE objkt = gt_fin-matnr.

    Hi,
    This is a common scenario. Usually if you are not able adjust it by changing the data type then you will have to create a new internal table with the desired length for the field and then using loop you have to move the values to this new internal table. This new table can be used for for all entries. But this will require additional loop.
    One doubt: You told u hve another select statemnt where u use matnr. Is that also a for all entries.
    Regards
    Ansar

  • Error in if statement

    i am writing a stored procedure in which i have made use of if statement my requirement is that in the if statement if a
    certain record exists then go inside the if condition otherwise else condition i am getting error
    my SQL Statement is this
    create or replace
    PROCEDURE usp_addAppointment_Mst
    parameter list
    AS
    pAppdetailsid number(10,0);
    v_Appcode varchar(10);
    begin
         if exists(Select * from dr_slots Where SlotId = pSlotId and MaximumPatient = AllocatedPatient )then
    Select v_AppDetailsId from dual;
         return ; -- this is my return statement
    else
    Select NVL(max(AppId),0) + 1 into v_Appid From Appointment_Mst;
    v_Appcode := 'APP' || cast(*v_Appid* as varchar(5)); -error in this line
    /*some code*/
         Select AppDetailsId from Appointment_Dtls where AppDetailsId=pAppdetailsid;
    end if;
    end;
    what i am doing is that if statement mentioned above becomes TRUE then execute select statement and return
    from there otherwise it goes inside else statement and perform some operation which is there inside the transaction
    and then select some value which actually the last statement in else block this is my actual requirement
    while executing i am getting this error
    Error(71,58): PLS-00103: Encountered the symbol "(" when expecting one of the following:     . ) @ %
    Edited by: user21354 on Feb 21, 2011 1:05 AM
    Edited by: user21354 on Feb 21, 2011 1:08 AM

    What is this line doing in there?
    variable declaration That's not valid PL/SQL code.
    Please also consider posting your code using {noformat}{noformat} tags as desribed in the SQL and PL/SQL FAQ: SQL and PL/SQL FAQ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • I have a IMac 7.1 Intel and trying to download vidoes to an Ipad version 5.1.1 - i keep getting error's stating that the ipad does not support this version - any suggestions?

    I have an Imac 7.1 intel and trying to download videos into an Ipad - I keep getting error messages that states not supported - any ideas?

    What is a 7.1 intel?

  • When my lightroom opens up I keep getting an error message that states, "Lightroom encountered an error whne reading from its preview  cache and needs to quit" I have relaunched it a number of times and keep getting the same message.

    when my lightroom opens up I keep getting an error message that states, "Lightroom encountered an error whne reading from its preview  cache and needs to quit" I have relaunched it a number of times and keep getting the same message. Any thoughts on how to fix this?

    You need to delete your preview cache and have Lightroom rebuild it.   Cache location can be found here.
    https://helpx.adobe.com/lightroom/kb/preference-file-locations-lightroom-41.html
    Why And How To Clear Your Lightroom Cache - Lightroom Fanatic

  • I just downloaded itunes onto my new laptop and I am trying to burn songs onto a cd that I had purchased previously and I am getting an error message that states I must authorize this computer. What does that mean?

    I just downloaded itunes onto my new laptop and I am trying to burn songs onto a cd that I had purchased previously and I am getting an error message that states I must authorize this computer. What does that mean?

    If the computer's running Mac OS X, move the cursor to the very top of the computer's screen, click on Store, and choose Authorize this Computer.
    If the computer's running Windows, press the Alt and S keys and choose Authorize this Computer, or click here, follow the instructions, click on Store in the menu bar, and choose Authorize this Computer.
    (95452)

  • Getting error while executing this select statement

    Hi All,
    I am new to this community.
    I am getting error whie compiling the below code. Its telling 'Text' is invalid identifier. Also i want to know how can we obtain 'parseable' version of the below query?
    my basic intention is to create a trigger header through a select statement and show it the complete text as a single column..
    select text from
    (select 'CREATE OR REPLACE TRIGGER '||SUBSTR(column_name,2,4)||'aud
    AFTER INSERT
    OR UPDATE
    OF '||column_name||',
    OR DELETE ON '||table_name||'
    FOR EACH ROW'
    FROM(SELECT lower(REPLACE(column_name,'O_','')) column_name , /*changing O to O_*/
    lower(replace(t.table_name,'_A_','_')) table_name,
    lower(t.table_name) table_name1,
    c.column_id
    FROM all_tab_columns c,
    (SELECT object_name table_name
    FROM all_objects
    WHERE object_name LIKE '%/_A/_%' ESCAPE '/') t
    WHERE c.table_name(+) = t.table_name
    AND SUBSTR(column_name(+),1,2) = 'O_'))

    thanks prathamesh. it solved the problem. i have one more question.
    as of now it creates single create trigger statement for each column on a table.
    example:
    CREATE OR REPLACE TRIGGER ust_aud
    AFTER INSERT
    OR UPDATE
    OF cust_id,
    OR DELETE ON characteristic_t
    FOR EACH ROW
    however, i want to create trigger for all columns in a single statement. can you please help me how to do it?
    basically want to 'CREATE TRIGGER' for all columns in a table. i am finding difficult how to change my query to suit this!!
    i am pasting my original query again for your reference. pls advise...
    example:
    CREATE OR REPLACE TRIGGER ust_aud
    AFTER INSERT
    OR UPDATE
    OF cust_id,
    fixed_item_val,
    copy_item_val,
    rgn_id,
    txn_id,
    OR DELETE ON characteristic_t
    FOR EACH ROW
    ORIGINAL QUERY
    select text from
    (select 'CREATE OR REPLACE TRIGGER '||SUBSTR(column_name,2,4)||'aud
    AFTER INSERT
    OR UPDATE
    OF '||column_name||',
    OR DELETE ON '||table_name||'
    FOR EACH ROW' text
    FROM(SELECT lower(REPLACE(column_name,'O_','')) column_name , /*changing O to O_*/
    lower(replace(t.table_name,'_A_','_')) table_name,
    lower(t.table_name) table_name1,
    c.column_id
    FROM all_tab_columns c,
    (SELECT object_name table_name
    FROM all_objects
    WHERE object_name LIKE '%/_A/_%' ESCAPE '/') t
    WHERE c.table_name(+) = t.table_name
    AND SUBSTR(column_name(+),1,2) = 'O_'))

  • Every time I try to export my movie from iMovie, I keep getting a message that states, "Unable to prepare project for publication. The project could not be prepared for publication because an error occurred. (-50). HELP

    Every time I try to export my movie from iMovie, I keep getting a message that states, "Unable to prepare project for publication. The project could not be prepared for publication because an error occurred. (-50). HELP

    Hi
    Error -50 paramErr  Error in user parameter list
    Can there be any external hard disks - if so How is/are it/they formatted ? Must be Mac OS Extended (hfs) if used for Video.
    UNIX/DOS/FAT32/Mac OS Exchange - works for most but not for VIDEO.
    What this means in Your situation is above me.
    • free space on internal boot hard disk? How much ?
    Video codec
    • streamingDV, AIC etc. (not .avi, .mp4, .m4v, .wmv etc as they are containers not codecs)
    Pictures
    • in what format ? .jpg, .bmp, .tif, else ?
    Audio
    • from where/what format ? iTunes, .avi, .mp3, .aiff, else ?
    Trash the Preference file:
    The "com.apple.iMovie.plist" file
    Many users has not observed that there are TWO libraries.
    • Library - at root level
    • Library - in user/account folder - THIS IS THE ONE to look into
    from Luke Burns
    I fixed the problem.. but it was very, very strange. I had a very long section for credits and set the line spacing to 1.0.. for some reason this caused it. I removed it, and it worked fine. I put it back, and I couldn't preview or play the video.
    I don't know why that could cause that big of a problem, but it did..
    Klaus1
    You need more free space on your hard drive.
    jonorparkerjon
    After phone support from apple I ended up creating a new project and adding all 117 clips back in individually till I found out what clips flagged and would not allow me to export. I had 3 I deleted and replaced and everything works now 1hr after tedious work....
    Where do Your material come from
    • Camera
    • External hard disk
    • USB-memory
    And all are connected so that iMovie can find it ?
    from: jonorparkerjon
    After phone support from apple I ended up creating a new project and adding all 117 clips back in individually till I found out what clips flagged and would not allow me to export. I had 3 I deleted and replaced and everything works now 1hr after tedious work....
    from Karsten S
    Shorter clips than 1,5 sec might be one of the culptrits
    Bengt cont.
    Set-Up might differ
    • Mac OS - most probably X.7 or more
    • iMovie version - more than iM'11 v. 9.0.4
    Action taken
    • Finalizing project - I never do as I never understood the gain to do so
    • Share as HD to iDVD - never give any gain but if it works the resulting DVD is less quality than if SD-quality was shared
    fps - set
    •I only use PAL (25fps)
    Yours Bengt W

Maybe you are looking for