Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 11 package org.eclipse.jdt.internal.compiler; 12 13 public class DefaultErrorHandlingPolicies { 14 15 22 public static IErrorHandlingPolicy exitAfterAllProblems() { 23 return new IErrorHandlingPolicy() { 24 public boolean stopOnFirstError() { 25 return false; 26 } 27 public boolean proceedOnErrors(){ 28 return false; 29 } 30 }; 31 } 32 37 public static IErrorHandlingPolicy exitOnFirstError() { 38 return new IErrorHandlingPolicy() { 39 public boolean stopOnFirstError() { 40 return true; 41 } 42 public boolean proceedOnErrors(){ 43 return false; 44 } 45 }; 46 } 47 51 public static IErrorHandlingPolicy proceedOnFirstError() { 52 return new IErrorHandlingPolicy() { 53 public boolean stopOnFirstError() { 54 return true; 55 } 56 public boolean proceedOnErrors(){ 57 return true; 58 } 59 }; 60 } 61 65 public static IErrorHandlingPolicy proceedWithAllProblems() { 66 return new IErrorHandlingPolicy() { 67 public boolean stopOnFirstError() { 68 return false; 69 } 70 public boolean proceedOnErrors(){ 71 return true; 72 } 73 }; 74 } 75 } 76
| Popular Tags
|