You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mm...@apache.org on 2007/08/08 07:09:50 UTC

svn commit: r563746 - /myfaces/core/trunk/api/src/main/java/javax/faces/webapp/_ErrorPageWriter.java

Author: mmarinschek
Date: Tue Aug  7 22:09:49 2007
New Revision: 563746

URL: http://svn.apache.org/viewvc?view=rev&rev=563746
Log:
reverted the class to be package local

Modified:
    myfaces/core/trunk/api/src/main/java/javax/faces/webapp/_ErrorPageWriter.java

Modified: myfaces/core/trunk/api/src/main/java/javax/faces/webapp/_ErrorPageWriter.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/webapp/_ErrorPageWriter.java?view=diff&rev=563746&r1=563745&r2=563746
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/webapp/_ErrorPageWriter.java (original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/webapp/_ErrorPageWriter.java Tue Aug  7 22:09:49 2007
@@ -49,7 +49,7 @@
 /**
  * @author Jacob Hookom (ICLA with ASF filed)
  */
-public final class _ErrorPageWriter {
+class _ErrorPageWriter {
 
     private static final Log log = LogFactory.getLog(_ErrorPageWriter.class);
 
@@ -67,10 +67,6 @@
         super();
     }
 
-    public static void main(String[] argv) throws Exception {
-        init();
-    }
-
     private static void init() throws IOException {
         if (ERROR_PARTS == null) {
             ERROR_PARTS = splitTemplate(ERROR_TEMPLATE);
@@ -395,7 +391,7 @@
         prepareExceptionStack(ex.getCause());
     }
 
-    static void throwException(Exception e) throws IOException, ServletException {
+    public static void throwException(Exception e) throws IOException, ServletException {
 
         prepareExceptionStack(e);