axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shellman, Joel" <>
Subject Throwing exceptions back to
Date Fri, 25 Apr 2003 15:49:45 GMT
We were now easily able to serialize an Exception back by:

  1) Having our exception extend AxisFault
  2) Override the writeDetails method with:

	public void writeDetails(QName qname, SerializationContext context) throws
		BeanSerializer bean = new BeanSerializer(ServiceException.class, qname);
		bean.serialize(qname, null, this, context);

Our next trick is to deserialize that in

Has anyone modified to handle exceptions like that?


Joel Shellman

View raw message