public void prompt ( ) { if ( promptOnError ) { System . err . println ( localize ( "resume.abort" ) ) ; try { while ( true ) { switch ( System . in . read ( ) ) { case ' ' : case ' ' : System . exit ( - 1 ) ; return ; case ' ' : case ' ' : return ; case ' ' : case ' ' : throw new AssertionError ( "user abort" ) ; default : } } } catch ( IOException e ) { } } }
Prompt user after an error .