You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sk...@apache.org on 2004/03/23 08:07:54 UTC
cvs commit: jakarta-commons/digester/src/java/org/apache/commons/digester Digester.java
skitching 2004/03/22 23:07:54
Modified: digester/src/java/org/apache/commons/digester Digester.java
Log:
Make createSAXException methods public, so Rule classes
(like PluginCreateRule) can call them.
Revision Changes Path
1.97 +4 -4 jakarta-commons/digester/src/java/org/apache/commons/digester/Digester.java
Index: Digester.java
===================================================================
RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/Digester.java,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -r1.96 -r1.97
--- Digester.java 15 Mar 2004 21:44:53 -0000 1.96
+++ Digester.java 23 Mar 2004 07:07:54 -0000 1.97
@@ -2738,7 +2738,7 @@
*
* @return the new exception
*/
- protected SAXException createSAXException(String message, Exception e) {
+ public SAXException createSAXException(String message, Exception e) {
if ((e != null) &&
(e instanceof InvocationTargetException)) {
Throwable t = ((InvocationTargetException) e).getTargetException();
@@ -2769,7 +2769,7 @@
*
* @return the new exception
*/
- protected SAXException createSAXException(Exception e) {
+ public SAXException createSAXException(Exception e) {
if (e instanceof InvocationTargetException) {
Throwable t = ((InvocationTargetException) e).getTargetException();
if ((t != null) && (t instanceof Exception)) {
@@ -2785,7 +2785,7 @@
*
* @return the new exception
*/
- protected SAXException createSAXException(String message) {
+ public SAXException createSAXException(String message) {
return createSAXException(message, null);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org