Examples of fillInStackTrace()


Examples of com.amazonaws.AmazonServiceException.fillInStackTrace()

            throw new AmazonClientException(errorMessage, e);
        }

        exception.setStatusCode(status);
        exception.setServiceName(request.getServiceName());
        exception.fillInStackTrace();
        return exception;
    }

    /**
     * Creates and initializes an HttpResponse object suitable to be passed to
View Full Code Here

Examples of com.amazonaws.AmazonServiceException.fillInStackTrace()

            }
        }

        exception.setStatusCode(status);
        exception.setServiceName(request.getServiceName());
        exception.fillInStackTrace();
        return exception;
    }

    /**
     * Creates and initializes an HttpResponse object suitable to be passed to
View Full Code Here

Examples of com.canoo.webtest.engine.StepExecutionException.fillInStackTrace()

      final Object object = Class.forName(customInitializerClassName).newInstance();
      final IConnectionInitializer customInitializer = (IConnectionInitializer) object;
      customInitializer.initializeConnection(context.getConfig());
    } catch (final ConnectionInitializationException e) {
      final Throwable throwme = new StepExecutionException("ConnectionInitializer raised exception: " + e.getMessage(), fStep);
      throw (RuntimeException) throwme.fillInStackTrace();
    } catch (final Exception e) {
      LOG.info("Root exception from Connection Initializer", e);
      final Throwable throwme = new StepExecutionException("Exception raised while trying to create custom ConnectionInitializer <"
        + customInitializerClassName + "> / Exception: " + e, fStep);
      throw (RuntimeException) throwme.fillInStackTrace();
View Full Code Here

Examples of com.caucho.bam.BamException.fillInStackTrace()

                       Serializable query)
  {
    if (! _lifecycle.isActive()) {
      BamException exn = new RemoteConnectionFailedException(L.l("{0} is closed",
                                                                 this));
      exn.fillInStackTrace();
     
      getBroker().queryError(id, from, to, query,
                             BamError.create(exn));
      return;
    }
View Full Code Here

Examples of com.caucho.bam.RemoteConnectionFailedException.fillInStackTrace()

                       Serializable query)
  {
    if (! _lifecycle.isActive()) {
      BamException exn = new RemoteConnectionFailedException(L.l("{0} is closed",
                                                                 this));
      exn.fillInStackTrace();
     
      getBroker().queryError(id, from, to, query,
                             BamError.create(exn));
      return;
    }
View Full Code Here

Examples of com.caucho.quercus.QuercusException.fillInStackTrace()

      value.putField(env, "line", LongValue.create(location.getLineNumber()));
    }

    value.putField(env, "trace", ErrorModule.debug_backtrace(env));
    QuercusException e = new QuercusException();
    e.fillInStackTrace();
   
    value.putField(env, "_quercusException", env.wrapJava(e));

    return value;
  }
View Full Code Here

Examples of com.denormans.facebookgwt.api.client.FBGWTException.fillInStackTrace()

    if (type != null && type.length() > 0) {
      message += " (" + type + ")";
    }

    FBGWTException fbgwtException = new FBGWTException(message);
    fbgwtException.fillInStackTrace();
    callback.onFailure(fbgwtException);
  }

  private static class FBGraphDataListTransformingCallback<G extends FBGraphObject> implements AsyncCallback<FBGraphDataListResult<G>> {
    private final AsyncCallback<List<G>> callback;
View Full Code Here

Examples of com.denormans.facebookgwt.api.client.core.FBAPIException.fillInStackTrace()

    executeCallback(callback, Double.valueOf(result));
  }

  protected void executeCallbackError(final AsyncCallback callback, final int errorCode, final String errorMessage) {
    FBAPIException fbapiException = new FBAPIException(errorMessage, errorCode);
    fbapiException.fillInStackTrace();
    callback.onFailure(fbapiException);
  }

  private JSFunction subscribeToEvent(final FBEventType eventType) {
    Log.fine("Subscribing to event: " + eventType + " (" + eventType.getApiValue() + ")");
View Full Code Here

Examples of com.google.gwt.core.client.JavaScriptException.fillInStackTrace()

   *
   * @return The new JavaScriptException
   */
  public static JavaScriptException createException(final Object jsError) {
    JavaScriptException jsException = new JavaScriptException(jsError);
    jsException.fillInStackTrace();
    return jsException;
  }

  protected JSError() {
  }
View Full Code Here

Examples of com.sun.messaging.jmq.jmsserver.util.BrokerException.fillInStackTrace()

            if (d == null) {
                errMsg = Globals.getBrokerResources().getKString(
                          BrokerResources.E_NO_SUCH_DESTINATION,
                          getDestinationType(destType.intValue()), destination);
                Exception e = new BrokerException(errMsg);
                e.fillInStackTrace();
                status = Status.ERROR;
                logger.log(Logger.WARNING, BrokerResources.W_ADMIN_OPERATION_FAILED,
e);
            } else {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.