/// <summary> /// Initializes a new instance of the <see cref="ResponseException"/> class with the /// specified error message and REST response. /// </summary> /// <param name="message">The message that describes the error.</param> /// <param name="response">The REST response.</param> public ResponseException(string message, RestResponse response) : base(message) { _state.Response = response; #if !NET35 SerializeObjectState += (ex, args) => args.AddSerializedState(_state); #endif }
/// <summary> /// Initializes a new instance of the <see cref="ServiceUnavailableException"/> class with the /// specified REST response. /// </summary> /// <param name="response">The REST response.</param> public ServiceUnavailableException(RestResponse response) : base("The service is currently unavailable. Please try again later.", response) { }
public BadServiceRequestException(string message, JSIStudios.SimpleRESTServices.Client.Response response) : base(message, response) { }
/// <summary> /// Initializes a new instance of the <see cref="MethodNotImplementedException"/> class with the /// specified REST response. /// </summary> /// <param name="response">The REST response.</param> public MethodNotImplementedException(RestResponse response) : base("The requested method is not implemented at the service.", response) { }
/// <summary> /// Initializes a new instance of the <see cref="ServiceLimitReachedException"/> class with the /// specified error message and REST response. /// </summary> /// <param name="message">The message that describes the error.</param> /// <param name="response">The REST response.</param> public ServiceLimitReachedException(string message, RestResponse response) : base(message, response) { }
/// <summary> /// Initializes a new instance of the <see cref="ServiceConflictException"/> class with the /// specified error message and REST response. /// </summary> /// <param name="message">The message that describes the error.</param> /// <param name="response">The REST response.</param> public ServiceConflictException(string message, RestResponse response) : base(message, response) { }
/// <summary> /// Initializes a new instance of the <see cref="BadServiceRequestException"/> class with the /// specified error message and REST response. /// </summary> /// <param name="message">The message that describes the error.</param> /// <param name="response">The REST response.</param> public BadServiceRequestException(string message, RestResponse response) : base(message, response) { }
public ServiceLimitReachedException(string message, JSIStudios.SimpleRESTServices.Client.Response response) : base(message, response) { }
/// <summary> /// Initializes a new instance of the <see cref="ResponseException"/> class with the /// specified error message and REST response. /// </summary> /// <param name="message">The message that describes the error.</param> /// <param name="response">The REST response.</param> public ResponseException(string message, RestResponse response) : base(message) { Response = response; }
/// <summary> /// Initializes a new instance of the <see cref="ItemNotFoundException"/> class with the /// specified REST response. /// </summary> /// <param name="response">The REST response.</param> public ItemNotFoundException(RestResponse response) : base("The item was not found or does not exist.", response) { }
/// <summary> /// Initializes a new instance of the <see cref="UserNotAuthorizedException"/> class with the /// specified REST response. /// </summary> /// <param name="response">The REST response.</param> public UserNotAuthorizedException(RestResponse response) : base("Unable to authenticate user and retrieve authorized service endpoints", response) { }
/// <summary> /// Initializes a new instance of the <see cref="UserNotAuthorizedException"/> class with the /// specified error message and REST response. /// </summary> /// <param name="message">The message that describes the error.</param> /// <param name="response">The REST response.</param> public UserNotAuthorizedException(string message, RestResponse response) : base(message, response) { }
/// <summary> /// Initializes a new instance of the <see cref="ServiceConflictException"/> class with the /// specified REST response. /// </summary> /// <param name="response">The REST response.</param> public ServiceConflictException(RestResponse response) : base("There was a conflict with the service. Entity may already exist.", response) { }
/// <summary> /// Initializes a new instance of the <see cref="MethodNotImplementedException"/> class with the /// specified error message and REST response. /// </summary> /// <param name="message">The message that describes the error.</param> /// <param name="response">The REST response.</param> public MethodNotImplementedException(string message, RestResponse response) : base(message, response) { }
public MethodNotImplementedException(string message, JSIStudios.SimpleRESTServices.Client.Response response) : base(message, response) { }
/// <summary> /// Initializes a new instance of the <see cref="ItemNotFoundException"/> class with the /// specified error message and REST response. /// </summary> /// <param name="message">The message that describes the error.</param> /// <param name="response">The REST response.</param> public ItemNotFoundException(string message, RestResponse response) : base(message, response) { }
/// <summary> /// Initializes a new instance of the <see cref="ServiceFaultException"/> class with the /// specified REST response. /// </summary> /// <param name="response">The REST response.</param> public ServiceFaultException(RestResponse response) : base("There was an unhandled error at the service endpoint. Please try again later.", response) { }
public ServiceLimitReachedException(JSIStudios.SimpleRESTServices.Client.Response response) : base("The service rate limit has been reached. Either request a service limit increase or wait until the limit resets.", response) { }
public ResponseException(string message, JSIStudios.SimpleRESTServices.Client.Response response) : base(message) { Response = response; }
/// <summary> /// Initializes a new instance of the <see cref="ServiceLimitReachedException"/> class with the /// specified REST response. /// </summary> /// <param name="response">The REST response.</param> public ServiceLimitReachedException(RestResponse response) : base("The service rate limit has been reached. Either request a service limit increase or wait until the limit resets.", response) { }
public ServiceConflictException(JSIStudios.SimpleRESTServices.Client.Response response) : base("There was a conflict with the service. Entity may already exist.", response) { }
public BadServiceRequestException(JSIStudios.SimpleRESTServices.Client.Response response) : base("Unable to process the service request. Please try again later.", response) { }
public ServiceUnavailableException(JSIStudios.SimpleRESTServices.Client.Response response) : base("The service is currently unavailable. Please try again later.", response) { }
public ServiceFaultException(JSIStudios.SimpleRESTServices.Client.Response response) : base("There was an unhandled error at the service endpoint. Please try again later.", response) { }
public UserNotAuthorizedException(string message, JSIStudios.SimpleRESTServices.Client.Response response) : base(message, response) { }
public ServiceUnavailableException(string message, JSIStudios.SimpleRESTServices.Client.Response response) : base(message, response) { }
public UserNotAuthorizedException(JSIStudios.SimpleRESTServices.Client.Response response) : base("Unable to authenticate user and retrieve authorized service endpoints", response) { }
/// <summary> /// Initializes a new instance of the <see cref="ServiceUnavailableException"/> class with the /// specified error message and REST response. /// </summary> /// <param name="message">The message that describes the error.</param> /// <param name="response">The REST response.</param> public ServiceUnavailableException(string message, RestResponse response) : base(message, response) { }
/// <summary> /// Initializes a new instance of the <see cref="BadServiceRequestException"/> class with the /// specified REST response. /// </summary> /// <param name="response">The REST response.</param> public BadServiceRequestException(RestResponse response) : base("Unable to process the service request. Please try again later.", response) { }
public MethodNotImplementedException(JSIStudios.SimpleRESTServices.Client.Response response) : base("The requested method is not implemented at the service.", response) { }