OK, fine: then simply add a constructor that takes a Throwable as well as a getThrown() method. Status can stay immutable.

- Paul


On Jan 26, 2008, at 1:06 PM, Stephan Koops wrote:

Hello Paul,

if I understood you right, than you want to add method to the class Status to save the exception in the status object. But the Status objects are immutable as all metadata. So this won't work.

best regards
  Stephan

Reply via email to