@Override public final WSFException missingJAXWS22ServiceConstructor(final String className, final Throwable cause) { final WSFException result = new WSFException(String.format(getLoggingLocale(), missingJAXWS22ServiceConstructor$str(), className), cause); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String missingBindingOpeartionAndDispatchedMethod = "JBWS024108: Invalid request received:bindingOperation and dispatched method are missing for service implementation invocation";
public static void rethrow(Throwable th) { if (th instanceof WSFException) throw (WSFException)th; throw new WSFException(th); } }
WSFException.rethrow("Cannot create service", ex);
public static void rethrow(String string, Throwable th) { if (th instanceof WSFException) throw (WSFException)th; throw new WSFException(string, th); }
@Override public final WSFException couldNotFetchWSDLContract(final String endpoint, final String wsdlLocation) { final WSFException result = new WSFException(String.format(getLoggingLocale(), couldNotFetchWSDLContract$str(), endpoint, wsdlLocation)); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } }
public static void rethrow(String string, Throwable th) { if (th instanceof WSFException) throw (WSFException)th; throw new WSFException(string, th); }
@Override public final WSFException invalidWSServlet(final String servletClass) { final WSFException result = new WSFException(String.format(getLoggingLocale(), invalidWSServlet$str(), servletClass)); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } @Override
public static void rethrow(Throwable th) { if (th instanceof WSFException) throw (WSFException)th; throw new WSFException(th); } }
@Override public final WSFException failedToProvideSPI(final Class<?> spiType) { final WSFException result = new WSFException(String.format(getLoggingLocale(), failedToProvideSPI$str(), spiType)); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String noDeploymentAspectFoundWithAttributeLast = "JBWS022030: No deployment aspect found with attribute last='true'";
throw new WSFException("Failed to bind service-ref, the deployment root expandedDirectory doesn't exist: " + fileName);
@Override public final WSFException invalidWSServlet(final String servletClass) { final WSFException result = new WSFException(String.format(getLoggingLocale(), invalidWSServlet$str(), servletClass)); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } @Override
throw new WSFException("Failed to provide SPI '" + spiType + "'");