[seam-issues] [JBoss JIRA] Created: (SEAMCATCH-51) Typo in the basic-servlet example

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Thu Mar 24 17:53:45 EDT 2011


Typo in the basic-servlet example
---------------------------------

                 Key: SEAMCATCH-51
                 URL: https://issues.jboss.org/browse/SEAMCATCH-51
             Project: Seam Catch
          Issue Type: Bug
          Components: Example
    Affects Versions: 3.0.0.CR3
            Reporter: Jozef Hartinger
            Assignee: Jason Porter
             Fix For: 3.0.0.Final


org.jboss.seam.exception.example.basic.servlet.navigation.NavigationServlet line 43 says:

ASSERTIONERRROR while it should be ASSERTIONERROR

As a result, the assertion error page displays:

"Caught Exception class java.lang.IllegalArgumentException using handler throwableHandler marking exception with markHandled message: No enum const class org.jboss.seam.exception.example.basic.servlet.navigation.NavigationServlet$NavigationEnum.ASSERTIONERROR
Caught Exception class java.lang.IllegalArgumentException using handler illegalArgumentBreadthFirstHandler marking exception with dropCause message: No enum const class org.jboss.seam.exception.example.basic.servlet.navigation.NavigationServlet$NavigationEnum.ASSERTIONERROR
"

While it should display something like:

"Caught Exception class java.lang.AssertionError using handler throwableHandler marking exception with markHandled message: Assertion Error
Caught Exception class java.lang.AssertionError using handler assertionErrorHandler marking exception with rethrow message: Assertion Error"




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list