Searched refs:ParseException (Results 26 - 50 of 100) sorted by relevance

1234

/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/regex/
H A DRegexParser.java111 final ParseException ex(String key, int loc) {
112 return new ParseException(this.resources.getString(key), loc);
119 synchronized Token parse(String regex, int options) throws ParseException {
150 public RegularExpression createRegex(String regex, int options) throws ParseException {
312 Token parseRegex() throws ParseException {
330 Token parseTerm() throws ParseException {
356 Token processCaret() throws ParseException {
360 Token processDollar() throws ParseException {
364 Token processLookahead() throws ParseException {
371 Token processNegativelookahead() throws ParseException {
[all...]
H A DREUtil.java100 static final int parseOptions(String opts) throws ParseException {
106 throw new ParseException("Unknown Option: "+opts.substring(i), -1);
229 } catch (ParseException pe) {
233 System.err.println("com.sun.org.apache.xerces.internal.utils.regex.ParseException: "+pe.getMessage());
257 throws ParseException {
291 public static boolean matches(String regex, String target) throws ParseException {
299 public static boolean matches(String regex, String options, String target) throws ParseException {
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/
H A DValueFormatter.java30 import java.text.ParseException;
86 public Object stringToValue(String text) throws ParseException {
91 ParseException pe = new ParseException("illegal format", 0);
98 public String valueToString(Object object) throws ParseException {
112 throw new ParseException("illegal object", 0);
/openjdk7/jdk/test/sun/net/idn/
H A DNFS4StringPrep.java33 import java.text.ParseException;
85 throws ParseException, UnsupportedEncodingException{
93 throws ParseException, UnsupportedEncodingException{
102 throws IOException, ParseException, UnsupportedEncodingException{
145 throws IOException, ParseException, UnsupportedEncodingException{
156 throw new ParseException("Suffix following a special index", -1);
H A DTestStringPrep.java41 import java.text.ParseException;
175 if(!((expected instanceof ParseException) && (e instanceof ParseException))) {
246 } catch(ParseException ex) {
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DMonitorTool.java43 import com.sun.tools.example.debug.expr.ParseException;
79 private Value evaluate(String expr) throws ParseException,
123 } catch (ParseException exc) {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/parse/compact/
H A DParseException.java46 /* Generated By:JavaCC: Do not edit this line. ParseException.java Version 5.0 */
59 public class ParseException extends Exception { class in inherits:Exception
74 public ParseException(Token currentTokenVal, method in class:ParseException
95 public ParseException() { method in class:ParseException
100 public ParseException(String message) { method in class:ParseException
/openjdk7/jdk/src/share/classes/sun/net/idn/
H A DPunycode.java35 // - use ParseException instead of StringPrepParseException
41 import java.text.ParseException;
168 * @throws ParseException
170 public static StringBuffer encode(StringBuffer src, boolean[] caseFlags) throws ParseException{
210 throw new ParseException("Illegal char found", -1);
329 * @throws ParseException
332 throws ParseException{
359 throw new ParseException("Illegal char found", -1);
394 throw new ParseException("Illegal char found", -1);
399 throw new ParseException("Invali
[all...]
H A DStringPrep.java36 // - use ParseException instead of StringPrepParseException
48 import java.text.ParseException;
288 throws ParseException {
303 throw new ParseException("An unassigned code point was found in the input " +
420 * @throws ParseException
424 throws ParseException{
449 throw new ParseException("A prohibited code point was found in the input" +
469 throw new ParseException("The input does not conform to the rules for BiDi code points." +
479 throw new ParseException("The input does not conform to the rules for BiDi code points." +
/openjdk7/jdk/src/share/classes/java/text/
H A DMergeCollation.java67 * @exception ParseException If the input pattern is incorrect.
69 public MergeCollation(String pattern) throws ParseException
163 public void setPattern(String pattern) throws ParseException
173 public void addPattern(String pattern) throws ParseException
235 private final void fixEntry(PatternEntry newEntry) throws ParseException
246 throw new ParseException("The entries " + lastEntry + " and "
303 StringBuffer excessChars) throws ParseException
323 throw new ParseException("couldn't find last entry: "
338 throw new ParseException("couldn't find: " + entry, i);
H A DFormat.java80 * <code>ParsePosition</code> argument should throw <code>ParseException</code>
238 * @exception ParseException if the beginning of the specified string
241 public Object parseObject(String source) throws ParseException {
245 throw new ParseException("Format.parseObject(String) failed",
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/
H A DContentDisposition.java69 * A ParseException is thrown if the parse fails.
72 * @exception ParseException if the parse fails.
75 public ContentDisposition(String s) throws ParseException {
82 throw new ParseException();
H A DHeaderTokenizer.java191 * @exception ParseException if the parse fails
193 public Token next() throws ParseException {
209 * @exception ParseException if the parse fails
211 public Token peek() throws ParseException {
235 private Token getNext() throws ParseException {
270 throw new ParseException("Unbalanced comments");
312 throw new ParseException("Unbalanced quoted string");
H A DParameterList.java63 * A ParseException is thrown if the parse fails.
68 * @exception ParseException if the parse fails.
70 public ParameterList(String s) throws ParseException {
92 throw new ParseException();
98 throw new ParseException();
106 throw new ParseException();
110 throw new ParseException();
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/expr/
H A DExpressionParser.java64 public static Value getMassagedValue() throws ParseException {
73 GetFrame frameGetter) throws ParseException, InvocationException,
113 } catch (ParseException e) {
126 final public void Type() throws ParseException {
144 throw new ParseException();
160 final public void PrimitiveType() throws ParseException {
189 throw new ParseException();
193 final public String Name() throws ParseException {
214 final public void NameList() throws ParseException {
233 final public void Expression() throws ParseException {
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/
H A DUtil.java28 import com.sun.tools.internal.ws.wsdl.framework.ParseException;
167 throw new ParseException(key);
171 throw new ParseException(key, arg);
175 throw new ParseException(key, new Object[] { arg1, arg2 });
179 throw new ParseException(key, args);
/openjdk7/jdk/src/share/classes/sun/applet/
H A DMain.java117 throw new ParseException(lookup("main.err.unrecognizedarg",
122 } catch (ParseException e) {
177 * @exception ParseException
181 private int decodeArg(String [] args, int i) throws ParseException {
190 throw new ParseException(lookup("main.err.dupoption", arg));
214 throw new ParseException(lookup("main.err.unsupportedopt", arg));
233 * @exception ParseException
237 private URL parseURL(String url) throws ParseException {
262 throw new ParseException(lookup("main.err.badurl",
520 class ParseException extend class in class:Main
522 public ParseException(String msg) { method in class:Main.ParseException
526 public ParseException(Throwable t) { method in class:Main.ParseException
[all...]
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/
H A DValueEntry.java139 ParseException.nonAbstractParent2 (scanner, fullName (), e.fullName ());
141 ParseException.nonAbstractParent3 (scanner, fullName (), e.fullName ());
145 ParseException.alreadyDerived (scanner, e.fullName (), fullName ());
189 ParseException.duplicateInit (scanner);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/fmt/
H A DJStaticJavaFile.java37 import java.text.ParseException;
118 } catch( ParseException e ) {
167 * @exception ParseException
170 String process(String line) throws ParseException;
182 public String process(String line) throws ParseException {
/openjdk7/jdk/test/java/text/Collator/
H A DBug6970930.java54 catch (ParseException e) {
/openjdk7/jdk/test/java/util/PluggableLocale/providersrc/
H A DCollatorProviderImpl.java60 } catch (ParseException pe) {
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DMaskFormatter.java199 * A <code>ParseException</code>
202 * @throws ParseException if mask does not contain valid mask characters
204 public MaskFormatter(String mask) throws ParseException {
211 * This will throw a <code>ParseException</code> if <code>mask</code> is
214 * @throws ParseException if mask does not contain valid mask characters
216 public void setMask(String mask) throws ParseException {
361 * <code>ParseException</code> if the value does not match the current
365 * @throws ParseException if there is an error in the conversion
370 public Object stringToValue(String value) throws ParseException {
380 * @throws ParseException i
[all...]
/openjdk7/langtools/test/tools/javac/tree/
H A DAbstractTreeScannerTest.java130 } catch (ParseException e) {
158 * @throws TreePosTest.ParseException if any errors occur while parsing the file
160 JCCompilationUnit read(File file) throws IOException, ParseException {
168 throw new ParseException(sw.toString());
233 private static class ParseException extends Exception { class in class:AbstractTreeScannerTest
234 ParseException(String msg) { method in class:AbstractTreeScannerTest.ParseException
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/
H A DComponentImpl.java38 import java.text.ParseException;
126 } catch (ParseException e) {
134 } catch (ParseException e) {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/
H A DMessageFactoryImpl.java34 import com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ParseException;
95 } catch (ParseException e) {

Completed in 130 milliseconds

1234