private FaultAction[] getFaultActions() { FaultAction[] faultActions = null; Action action = getAnnoAction(); if (action != null) { faultActions = action.fault(); } if (log.isDebugEnabled()) { log.debug("getFaultActions: " + Arrays.toString(faultActions)); } return faultActions; }
private FaultAction[] getFaultActions() { FaultAction[] faultActions = null; Action action = getAnnoAction(); if (action != null) { faultActions = action.fault(); } if (log.isDebugEnabled()) { log.debug("getFaultActions: " + Arrays.toString(faultActions)); } return faultActions; }
FaultAction[] faultActions = action.fault(); if (faultActions != null && faultActions.length > 0 && operation.getFaults() != null) { for (FaultAction faultAction : faultActions) {
@Override public void addOperationFaultExtension(TypedXmlWriter fault, JavaMethod method, CheckedException ce) { if (!enabled) return; Action a = method.getSEIMethod().getAnnotation(Action.class); Class[] exs = method.getSEIMethod().getExceptionTypes(); if (exs == null) return; if (a != null && a.fault() != null) { for (FaultAction fa : a.fault()) { if (fa.className().getName().equals(ce.getExceptionClass().getName())) { if (fa.value().equals("")) return; addAttribute(fault, fa.value()); return; } } } }
@Override public void addOperationFaultExtension(TypedXmlWriter fault, JavaMethod method, CheckedException ce) { if (!enabled) return; Action a = method.getSEIMethod().getAnnotation(Action.class); Class[] exs = method.getSEIMethod().getExceptionTypes(); if (exs == null) return; if (a != null && a.fault() != null) { for (FaultAction fa : a.fault()) { if (fa.className().getName().equals(ce.getExceptionClass().getName())) { if (fa.value().equals("")) return; addAttribute(fault, fa.value()); return; } } } }
@Override public void addOperationFaultExtension(TypedXmlWriter fault, JavaMethod method, CheckedException ce) { if (!enabled) return; Action a = method.getSEIMethod().getAnnotation(Action.class); Class[] exs = method.getSEIMethod().getExceptionTypes(); if (exs == null) return; if (a != null && a.fault() != null) { for (FaultAction fa : a.fault()) { if (fa.className().getName().equals(ce.getExceptionClass().getName())) { if (fa.value().equals("")) return; addAttribute(fault, fa.value()); return; } } } }
FaultAction[] faultActions = {}; if(actionAnn != null) faultActions = actionAnn.fault(); for (Class<?> exception : method.getExceptionTypes()) {
FaultAction[] faultActions = {}; if(actionAnn != null) faultActions = actionAnn.fault(); for (Class<?> exception : method.getExceptionTypes()) {
FaultAction[] faultActions = {}; if(actionAnn != null) faultActions = actionAnn.fault(); for (Class<?> exception : method.getExceptionTypes()) {
if (action != null) { ActionAnnot actionAnnot = ActionAnnot.createActionAnnotImpl(); FaultAction[] faults = action.fault();
if (action != null) { ActionAnnot actionAnnot = ActionAnnot.createActionAnnotImpl(); FaultAction[] faults = action.fault();
FaultAction[] faultActions = action.fault(); if (faultActions != null && faultActions.length > 0 && operation.getFaults() != null) { for (FaultAction faultAction : faultActions) {