public ServiceException setException ( Throwable innerException ) { ByteArrayOutputStream messageOutputStream = new ByteArrayOutputStream ( ) ; innerException . printStackTrace ( new PrintStream ( messageOutputStream ) ) ; String exceptionMessage = messageOutputStream . toString ( ) ; this . fault . setException ( exceptionMessage ) ; return this ; }
Sets the exception which caused this service exception . It s important to set this exception to understand and reproduce the error!