Code examples for SAXParseException

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
96:	"Line:    " + e.getLineNumber() + "\n" + 
97:	"URI:     " + e.getSystemId() + "\n" + 
98:	"Message: " + e.getMessage()); 
99:	visitor.close(e); 
100:	throw new IOException(e.toString()); 
Full Snippet Info
8
CodeRank
201:	throw new OsmosisRuntimeException( 
-
203:	+ ".  publicId=(" + e.getPublicId() 
204:	+ "), systemId=(" + e.getSystemId() 
205:	+ "), lineNumber=" + e.getLineNumber() 
206:	+ ", columnNumber=" + e.getColumnNumber() + ".", 
Full Snippet Info
7
CodeRank
42:	log.warn("XML parse warning in \""+e.getSystemId()+"\", line "+e.getLineNumber()+", column "+e.getColumnNumber()+": "+e.getMessage()); 
Full Snippet Info
7
CodeRank
74:	sb.append( "Exception: " + ex.getMessage() ); 
75:	sb.append( "failed at column : " + ex.getColumnNumber() + 
76:	" on line " + ex.getLineNumber() ); 
77:	sb.append( "entity:\n" + ex.getPublicId() + "\n" + ex.getSystemId() ); 
Full Snippet Info
7
CodeRank
497:	String location = ex.getSystemId(); 
-
514:	ex.getMessage(), 
-
516:	ex.getLineNumber(), 
517:	ex.getColumnNumber(), 
Full Snippet Info
7
CodeRank
205:	e = new SAXParseException(ERR, null, null, -1, -1); 
-
207:	assertEquals(ERR, e.getMessage()); 
208:	assertNull(e.getException()); 
-
210:	assertNull(e.getPublicId()); 
211:	assertNull(e.getSystemId()); 
212:	assertEquals(-1, e.getLineNumber()); 
213:	assertEquals(-1, e.getColumnNumber()); 
Full Snippet Info
7
CodeRank
96:	"Line:    " + e.getLineNumber() + "\n" + 
97:	"URI:     " + e.getSystemId() + "\n" + 
98:	"Message: " + e.getMessage()); 
99:	visitor.close(e); 
100:	throw new IOException(e.toString()); 
Full Snippet Info
7
CodeRank
658:	return this.message.format( new Object[]{x.getSystemId(), new Integer( x.getLineNumber() ), new Integer( x.getColumnNumber() ), x.getMessage()} ); 
Full Snippet Info
7
CodeRank
88:	this.setLineNumber( spe.getLineNumber() ); 
89:	this.setColumnNumber( spe.getColumnNumber() ); 
90:	this.setPublicId( spe.getPublicId() ); 
91:	this.setSystemId( spe.getSystemId() ); 
Full Snippet Info
7
CodeRank
366:	String systemId = ex.getSystemId(); 
-
375:	str.append(ex.getLineNumber()); 
-
377:	str.append(ex.getColumnNumber()); 
Full Snippet Info
7
CodeRank
174:	System.err.println("\n** Parsing error , line " + spe.getLineNumber() 
175:	+ ", uri " + spe.getSystemId()); 
176:	System.err.println(" " + spe.getMessage() ); 
-
179:	if (spe.getException() != null) 
180:	x = spe.getException(); 
Full Snippet Info
7
CodeRank
98:	+ "an instance of PUBLIC [" + x.getPublicId() 
99:	+ "], SYSTEM [" + x.getSystemId() + "] - line #" 
100:	+ x.getLineNumber() + ", column #" + x.getColumnNumber(); 
-
102:	Context.getCurrentLogger().log(Level.CONFIG, msg, x); 
Full Snippet Info
7
CodeRank
121:	Exception input = new SAXParseException("foo", locator); 
-
126:	parser.addDetailsAndPropagate(response, input); 
-
131:	assertEquals(e.getCause(), input); 
Full Snippet Info
7
CodeRank
46:	_child.warning(exception); 
-
68:	sb.append(spe.getSystemId()); 
-
70:	sb.append(spe.getLineNumber()); 
-
72:	sb.append(spe.getColumnNumber()); 
-
74:	sb.append(spe.getMessage()); 
Full Snippet Info
7
CodeRank
231:	String message = "Message : " + e.getMessage() + "\n"; 
232:	message += "Ligne " + e.getLineNumber() + ", colonne " + e.getColumnNumber() + "\n"; 
233:	message += "Public id : " + e.getPublicId() + "\n"; 
234:	message += "System id : " + e.getSystemId(); 
Full Snippet Info
7
CodeRank
68:	String id = spe.getSystemId(); 
-
75:	sb.append(spe.getLineNumber()); 
-
77:	sb.append(spe.getColumnNumber()); 
-
79:	sb.append(spe.getMessage()); 
Full Snippet Info
7
CodeRank
62:	_cc.error(formatMessage(exception),exception); 
-
69:	if (e.getSystemId() == null) { 
-
72:	sb.append(e.getSystemId()); 
-
75:	sb.append(e.getLineNumber()); 
-
77:	sb.append(e.getColumnNumber()); 
-
79:	sb.append(e.getMessage()); 
Full Snippet Info
7
CodeRank
282:	buf.append (e.getMessage ()); 
-
284:	if (e.getSystemId () != null) { 
-
286:	buf.append (e.getSystemId ()); 
-
289:	if ((temp = e.getLineNumber ()) != -1) { 
-
294:	if ((temp = e.getColumnNumber ()) != -1) { 
Full Snippet Info
7
CodeRank
162:	SAXParseException saxException = new SAXParseException(ex.getMessage(), locator, ex); 
-
164:	getErrorHandler().fatalError(saxException); 
Full Snippet Info
7
CodeRank
218:	SAXParseException saxException = new SAXParseException(ex.getMessage(), null, null, -1, -1, ex); 
-
221:	errorHandler.fatalError(saxException); 
Full Snippet Info
6
CodeRank