Catch error from BeanUtils.populate

Discussion in 'Java' started by Klaus, Sep 2, 2003.

  1. Klaus

    Klaus Guest

    How can I catch a "java.lang.ArrayIndexOutOfBoundsException" from
    BeanUtils.populate?

    I cannot catch in the action, because this happens prior.
    A global error declaration does not work neither.

    Any ideas?
    Regards KB

    Java 1.3, WebSphere 4.x, Struts 1.1

    THIS DOES NOT WORK:
    <global-exceptions>
    <exception
    key="errorpage.techerror" path="/kunde/fehler/technisch.jsp"
    type="java.lang.ArrayIndexOutOfBoundsException"/>
    </global-exceptions>
     
    Klaus, Sep 2, 2003
    #1
    1. Advertising

  2. Klaus

    Klaus Guest

    Best I found myself is to use the error declaration in web.xml
    KB


    (Klaus) wrote in message news:<>...
    > How can I catch a "java.lang.ArrayIndexOutOfBoundsException" from
    > BeanUtils.populate?
    >
    > I cannot catch in the action, because this happens prior.
    > A global error declaration does not work neither.
    >
    > Any ideas?
    > Regards KB
    >
    > Java 1.3, WebSphere 4.x, Struts 1.1
    >
    > THIS DOES NOT WORK:
    > <global-exceptions>
    > <exception
    > key="errorpage.techerror" path="/kunde/fehler/technisch.jsp"
    > type="java.lang.ArrayIndexOutOfBoundsException"/>
    > </global-exceptions>
     
    Klaus, Sep 8, 2003
    #2
    1. Advertising

  3. Klaus

    praveentp007

    Joined:
    May 18, 2012
    Messages:
    1
    Location:
    cochin
    hi Klaus.. I am also facing the same issue. Can you please help me with solution.
     
    praveentp007, May 18, 2012
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. The Griz
    Replies:
    0
    Views:
    589
    The Griz
    Mar 31, 2005
  2. Rahul
    Replies:
    2
    Views:
    8,079
    Roedy Green
    Sep 26, 2005
  3. Dix
    Replies:
    0
    Views:
    11,905
  4. John Black
    Replies:
    8
    Views:
    4,160
    Xenos
    Aug 20, 2004
  5. Enjoy Life
    Replies:
    2
    Views:
    278
    Roland Hall
    Feb 23, 2005
Loading...

Share This Page