title: Sample java code to retrieve AxisFault from InvocationTargetException
body: <p>My InvocationTargetException prints following when did printStackTrace:</p>
  
  <pre>
  
  AxisFault
   faultCode: file.could.not.be.created
   faultSubcode: 
   faultString: The File could not be created
   faultActor: 
   faultNode: 
   faultDetail: 
      {http://schemas.xmlsoap.org/soap/envelope/}Fault:file.already.existsFile already exists
  
  The File could not be created
      at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
      at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
      at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
      at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
  
  </pre>
  
  <p>I would like to retrieve faultcode &amp; faultString from InvocationTargetException: 
    file.already.exists 
   File already exists </p>
  
  <p>how can i do this??</p>