org.jboss.wsf.spi.WSFException.<init>()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(3.5k)|赞(0)|评价(0)|浏览(101)

本文整理了Java中org.jboss.wsf.spi.WSFException.<init>()方法的一些代码示例,展示了WSFException.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WSFException.<init>()方法的具体详情如下:
包路径:org.jboss.wsf.spi.WSFException
类名称:WSFException
方法名:<init>

WSFException.<init>介绍

暂无

代码示例

代码示例来源:origin: org.jboss.ws/jbossws-spi

  1. public static void rethrow(Throwable th)
  2. {
  3. if (th instanceof WSFException)
  4. throw (WSFException)th;
  5. throw new WSFException(th);
  6. }
  7. }

代码示例来源:origin: org.jboss.ws/jbossws-spi

  1. public static void rethrow(String string, Throwable th)
  2. {
  3. if (th instanceof WSFException)
  4. throw (WSFException)th;
  5. throw new WSFException(string, th);
  6. }

代码示例来源:origin: jboss.jbossws-spi/jbossws-spi

  1. public static void rethrow(String string, Throwable th)
  2. {
  3. if (th instanceof WSFException)
  4. throw (WSFException)th;
  5. throw new WSFException(string, th);
  6. }

代码示例来源:origin: jboss.jbossws-spi/jbossws-spi

  1. public static void rethrow(Throwable th)
  2. {
  3. if (th instanceof WSFException)
  4. throw (WSFException)th;
  5. throw new WSFException(th);
  6. }
  7. }

代码示例来源:origin: org.jboss.ws.cxf/jbossws-cxf-client

  1. @Override
  2. public final WSFException missingJAXWS22ServiceConstructor(final String className, final Throwable cause) {
  3. final WSFException result = new WSFException(String.format(getLoggingLocale(), missingJAXWS22ServiceConstructor$str(), className), cause);
  4. final StackTraceElement[] st = result.getStackTrace();
  5. result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  6. return result;
  7. }
  8. private static final String missingBindingOpeartionAndDispatchedMethod = "JBWS024108: Invalid request received:bindingOperation and dispatched method are missing for service implementation invocation";

代码示例来源:origin: org.jboss.ws.cxf/jbossws-cxf-client

  1. @Override
  2. public final WSFException couldNotFetchWSDLContract(final String endpoint, final String wsdlLocation) {
  3. final WSFException result = new WSFException(String.format(getLoggingLocale(), couldNotFetchWSDLContract$str(), endpoint, wsdlLocation));
  4. final StackTraceElement[] st = result.getStackTrace();
  5. result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  6. return result;
  7. }
  8. }

代码示例来源:origin: org.jboss.eap/wildfly-webservices-server-integration

  1. @Override
  2. public final WSFException invalidWSServlet(final String servletClass) {
  3. final WSFException result = new WSFException(String.format(getLoggingLocale(), invalidWSServlet$str(), servletClass));
  4. final StackTraceElement[] st = result.getStackTrace();
  5. result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  6. return result;
  7. }
  8. @Override

代码示例来源:origin: org.jboss.ws/jbossws-common

  1. @Override
  2. public final WSFException failedToProvideSPI(final Class<?> spiType) {
  3. final WSFException result = new WSFException(String.format(getLoggingLocale(), failedToProvideSPI$str(), spiType));
  4. final StackTraceElement[] st = result.getStackTrace();
  5. result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  6. return result;
  7. }
  8. private static final String noDeploymentAspectFoundWithAttributeLast = "JBWS022030: No deployment aspect found with attribute last='true'";

代码示例来源:origin: org.wildfly/wildfly-webservices-server-integration

  1. @Override
  2. public final WSFException invalidWSServlet(final String servletClass) {
  3. final WSFException result = new WSFException(String.format(getLoggingLocale(), invalidWSServlet$str(), servletClass));
  4. final StackTraceElement[] st = result.getStackTrace();
  5. result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
  6. return result;
  7. }
  8. @Override

代码示例来源:origin: org.jboss.ws/jbossws-jboss421

  1. throw new WSFException("Failed to bind service-ref, the deployment root expandedDirectory doesn't exist: " + fileName);

代码示例来源:origin: org.jboss.ws/jbossws-framework

  1. throw new WSFException("Failed to provide SPI '" + spiType + "'");

相关文章