} else { args = new String[]{ fault.getMessage() }; fault.getMessage() };
/** * create a fault from any throwable; * When faulting a throwable (as opposed to an exception), * stack trace information does not go into the fault. * @param message any extra text to with the fault * @param t whatever is to be turned into a fault */ public AxisFault (String message, Throwable t) { super (message, t); setFaultCodeAsString(Constants.FAULT_SERVER_GENERAL); setFaultString(getMessage()); addHostnameIfNeeded(); }
/** * create a fault from any throwable; * When faulting a throwable (as opposed to an exception), * stack trace information does not go into the fault. * @param message any extra text to with the fault * @param t whatever is to be turned into a fault */ public AxisFault (String message, Throwable t) { super (message, t); setFaultCodeAsString(Constants.FAULT_SERVER_GENERAL); setFaultString(getMessage()); addHostnameIfNeeded(); }
/** * create a fault from any throwable; * When faulting a throwable (as opposed to an exception), * stack trace information does not go into the fault. * @param message any extra text to with the fault * @param t whatever is to be turned into a fault */ public AxisFault (String message, Throwable t) { super (message, t); setFaultCodeAsString(Constants.FAULT_SERVER_GENERAL); setFaultString(getMessage()); addHostnameIfNeeded(); }
}catch(AxisFault ex){ log.info(Messages.getMessage("axisFault00"), ex); throw new RuntimeException(ex.getMessage());
}catch(AxisFault ex){ log.info(Messages.getMessage("axisFault00"), ex); throw new RuntimeException(ex.getMessage());
}catch(AxisFault ex){ log.info(Messages.getMessage("axisFault00"), ex); throw new RuntimeException(ex.getMessage());
+ af.getMessage()); Element[] details = af.getFaultDetails(); if (details != null) {
throw new SAXException(e.getMessage()); } catch (java.io.IOException e) { throw new SAXException(e.getMessage());
throw new SAXException(e.getMessage()); } catch (java.io.IOException e) { throw new SAXException(e.getMessage());