Examples of ErrorImpl


Examples of org.jclouds.vcloud.domain.internal.ErrorImpl

      Task result = factory.create(injector.getInstance(TaskHandler.class)).parse(is);

      Task expects = new TaskImpl(URI.create("http://10.150.4.49/api/v0.8/task/23"), null, TaskStatus.ERROR,
               dateService.iso8601SecondsDateParse("2009-12-07T19:05:02Z"), dateService
                        .iso8601SecondsDateParse("2009-12-10T14:40:32Z"), null, new ReferenceTypeImpl("testapp1",
                        VCloudMediaType.VAPP_XML, URI.create("http://10.150.4.49/api/v0.8/vapp/1")), new ErrorImpl(
                        "Error processing job", 500, MinorCode.UNRECOGNIZED,
                        " Error in runDailySummaries date used:2009-12-09 19:40:30.577326+00:00", null));
      assertEquals(result, expects);

   }
View Full Code Here

Examples of org.jclouds.vcloud.domain.internal.ErrorImpl

               .get("minorErrorCode")) : null;
      if (minorErrorCode == null || minorErrorCode == MinorCode.UNRECOGNIZED) {
         vendorSpecificErrorCode = attributes.get("minorErrorCode");
      }

      return new ErrorImpl(attributes.get("message"), errorCode, minorErrorCode, vendorSpecificErrorCode, attributes
               .get("stackTrace"));
   }
View Full Code Here

Examples of org.megatome.frame2.errors.impl.ErrorImpl

     * @return Error object
     * @see org.megatome.frame2.errors.Error
     */
    public final static org.megatome.frame2.errors.Error createError(final String key, final Object value1,
            final Object value2, final Object value3) {
        return new ErrorImpl(key, value1, value2, value3);
    }
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.