XFire

Exceptions returning Object as a getter do not work when fault is raised. Right now getter needs to be strongly typed.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Cannot Reproduce
  • Affects Version/s: 1.2-RC
  • Fix Version/s: 1.2
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

I was told this was a duplicate of XFIRE-35 but I have confirmed it's still not working.

public class GenericServiceDAOException extends RuntimeException implements ObjectContaining {

private Object containedObject;
private String containedObjectString;

//TODO: XFIRE-35: We need to make the getters and setters be Strongly typed until
// Jira is completed

public Object getContainedObject() { return containedObject; }

Activity

Hide
Dan Diephouse added a comment -

I could not reproduce this. I wrote a unit test here which shows that it works too:

http://svn.xfire.codehaus.org/browse/xfire/trunk/xfire/xfire-aegis/src/test/org/codehaus/xfire/aegis/inheritance/ExceptionInheritanceTest.java?r=1824

Let me know if you see any issues.

Show
Dan Diephouse added a comment - I could not reproduce this. I wrote a unit test here which shows that it works too: http://svn.xfire.codehaus.org/browse/xfire/trunk/xfire/xfire-aegis/src/test/org/codehaus/xfire/aegis/inheritance/ExceptionInheritanceTest.java?r=1824 Let me know if you see any issues.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: