private static string ResolveErrorMessage(ErrorType error)
		{
			switch (error)
			{
				case ErrorType.RecordingFailed:
					return Application.Context.Resources.GetString(Resource.String.RecordingFailedTip);
				case ErrorType.NoNetworkConnection:
					return Application.Context.Resources.GetString(Resource.String.NoNetworkConnectionTip);
				case ErrorType.NoServerConnection:
					return Application.Context.Resources.GetString(Resource.String.NoServerConnectionTip);
				case ErrorType.SendingFailed:
					return Application.Context.Resources.GetString(Resource.String.SendingFailedTip);
				case ErrorType.StoreFailed:
					return Application.Context.Resources.GetString(Resource.String.StoreFailedTip);
				case ErrorType.WriteFailed:
					return Application.Context.Resources.GetString(Resource.String.WriteFailedTip);
				case ErrorType.ReadFailed:
					return Application.Context.Resources.GetString(Resource.String.ReadFailedTip);
				case ErrorType.CheckFailed:
					return Application.Context.Resources.GetString(Resource.String.CheckFailedTip);
				case ErrorType.DeleteFailed:
					return Application.Context.Resources.GetString(Resource.String.DeleteFailedTip);
				case ErrorType.RecorderInitializationError:
					return Application.Context.Resources.GetString(Resource.String.RecorderInitializationErrorTip);
				default:
					throw new ArgumentOutOfRangeException("error");
			}
		}
Esempio n. 2
0
        protected ValidationError CreateError(string message, ErrorType errorType, JSchema schema, object value, IList<ValidationError> childErrors, IJsonLineInfo lineInfo, string path)
        {
            if (_schemaDiscovery == null)
            {
                _schemaDiscovery = new JSchemaDiscovery();
                _schemaDiscovery.Discover(Schema, null);
            }

            ValidationError error = new ValidationError();
            error.Message = message;
            error.ErrorType = errorType;
            error.Path = path;
            if (lineInfo != null)
            {
                error.LineNumber = lineInfo.LineNumber;
                error.LinePosition = lineInfo.LinePosition;
            }
            error.Schema = schema;
            error.SchemaId = _schemaDiscovery.KnownSchemas.Single(s => s.Schema == schema).Id;
            error.SchemaBaseUri = schema.BaseUri;
            error.Value = value;
            error.ChildErrors = childErrors;

            return error;
        }
Esempio n. 3
0
 public Error(string pMessage)
     : base(pMessage)
 {
     m_type = ErrorType.UNDEFINED;
     m_lineNr = -1;
     m_linePosition = -1;
 }
Esempio n. 4
0
 public Error(string pMessage, ErrorType type, int lineNr, int linePosition)
     : base(pMessage)
 {
     m_type = type;
     m_lineNr = lineNr;
     m_linePosition = linePosition;
 }
Esempio n. 5
0
 internal ErrorConstructor(ErrorType errorType)
 {
     error_type = errorType;
     name = ErrorTypeToName (errorType);
     _prototype = ErrorPrototype.Proto;
     _length = 1;
 }
Esempio n. 6
0
 /**
  * Creates a new parse exception.
  *
  * @param type           the parse error type
  * @param info           the additional information
  * @param line           the line number, or -1 for unknown
  * @param column         the column number, or -1 for unknown
  */
 public ParseException(ErrorType type,
                       string info,
                       int line,
                       int column)
     : this(type, info, null, line, column)
 {
 }
Esempio n. 7
0
        public void AddError(object sender,String error,ErrorType type, Exception e=null){
            Uri uri = null;
            if (type == ErrorType.NETWORKING_PROBLEM)
            {
                ErrorDisplayer.Show(FstnUserControlMsg.NoConnection);
                // uri = new System.Uri("/FstnDesign;component/Error.xaml?error=no results", System.UriKind.Relative);
            }
            if (type == ErrorType.EMPTY_RESPONSE_FROM_SERVER)
            {
                ErrorDisplayer.Show(FstnUserControlMsg.NoConnection);
               // uri = new System.Uri("/FstnDesign;component/Error.xaml?error=no results", System.UriKind.Relative);
            }
            
            if (type == ErrorType.CANT_CAST_ORIENTED)
            {
                ErrorDisplayer.Show("can't cast to OrientedCameraImage you need to use OrientedCameraImage");
               // uri = new System.Uri("/FstnDesign;component/Error.xaml?error=no results", System.UriKind.Relative);
            }
            
            if (WantToNavigate != null && uri!=null)
            {
                WantToNavigate(uri);

            }
        }
        public static List<string> GetErrors(this CompilationUnit @this, ErrorType errorType = ErrorType.Error)
        {
            var errors = new List<string>();

            if(@this.Errors.Count == 0)
            {
                return errors;
            }

            foreach(var error in @this.Errors.Where(x => x.ErrorType == errorType))
            {
                var line = String.Empty;

                if(error.Region.BeginLine > 0)
                {
                    var errorLine = "<a data-line=\"{0}\" href=\"javascript:void(0)\">Line {0}</a>: ".FormatWith(error.Region.BeginLine - UsingLineCount);
                    line += errorLine;
                }

                line += error.Message;

                errors.Add(line);
            }

            return errors;
        }
Esempio n. 9
0
        //
        // GET: /Error/
        public ActionResult Index(ErrorType? errorType)
        {
            string title, description;

            // set the default error type
            if (errorType == null) { errorType = ErrorType.UnknownError; }

            switch (errorType)
            {
                case ErrorType.UnauthorizedAccess:
                    title = "Unauthorized Access";
                    description = "You are not authorized for your request.";
                    break;
                case ErrorType.FileDoesNotExist:
                    title = "File Does Not Exist";
                    description = "File not found.";
                    break;
                case ErrorType.FileNotFound:
                    title = "File Does Not Exist";
                    description = "File not found.";
                    break;
                case ErrorType.StudentNotFound:
                    title = "Student not found";
                    description = "The student you are looking for was not found.";
                    break;
                default:
                    title = "Unknown Error.";
                    description = "An unknown error has occurred.  IT has been notified of the issue.";
                    break;
            };

            return View(ErrorViewModel.Create(title, description));
        }
Esempio n. 10
0
		/// <summary>
		/// Initializes a new instance of the <see cref="OISException"/> class.
		/// </summary>
		/// <param name="message">The message.</param>
		/// <param name="errorType">Type of the error.</param>
		/// <param name="line">The line.</param>
		/// <param name="filename">The filename.</param>
		public OISException(string message, ErrorType errorType, int line, string filename)
			: base(message)
		{
			ErrorType = errorType;
			Line = line;
			Filename = filename;
		}
Esempio n. 11
0
 public CodeError(ErrorType Type, ErrorLevel Level, CodeLine Line, string Remarks = "")
 {
     this.Type = Type;
     this.Level = Level;
     this.Line = Line;
     this.Remarks = Remarks;
 }
Esempio n. 12
0
 static FastConstants()
 {
     ANY_TYPE = new QName("any");
     ERROR = FastAlertSeverity.ERROR;
     WARN = FastAlertSeverity.WARN;
     FATAL = FastAlertSeverity.FATAL;
     DYNAMIC = new ErrorType("Dynamic");
     STATIC = new ErrorType("Static");
     REPORTABLE = new ErrorType("Reportable");
     S1_INVALID_XML = new ErrorCode(STATIC, 1, "ERR S1", "Invalid XML", ERROR);
     S2_OPERATOR_TYPE_INCOMP = new ErrorCode(STATIC, 2, "ERR S2", "Incompatible operator and type", ERROR);
     S3_INITIAL_VALUE_INCOMP = new ErrorCode(STATIC, 3, "ERR S3", "Incompatible initial value", ERROR);
     S4_NO_INITIAL_VALUE_FOR_CONST = new ErrorCode(STATIC, 4, "ERR S4", "Fields with constant operators must have a default value defined.", ERROR);
     S5_NO_INITVAL_MNDTRY_DFALT = new ErrorCode(STATIC, 5, "ERR S5", "No initial value for mandatory field with default operator", ERROR);
     D1_FIELD_APP_INCOMP = new ErrorCode(DYNAMIC, 1, "ERR D1", "Field cannot be converted to type of application field", ERROR);
     D2_INT_OUT_OF_RANGE = new ErrorCode(DYNAMIC, 2, "ERR D2", "The integer value is out of range for the specified integer type.", WARN);
     D3_CANT_ENCODE_VALUE = new ErrorCode(DYNAMIC, 3, "ERR D3", "The value cannot be encoded for the given operator.", ERROR);
     D4_INVALID_TYPE = new ErrorCode(DYNAMIC, 4, "ERR D4", "The previous value is not the same type as the type of the current field.", ERROR);
     D5_NO_DEFAULT_VALUE = new ErrorCode(DYNAMIC, 5, "ERR D5", "If no prior value is set and the field is not present, there must be a default value or the optional flag must be set.", ERROR);
     D6_MNDTRY_FIELD_NOT_PRESENT = new ErrorCode(DYNAMIC, 6, "ERR D6", "A mandatory field must have a value", ERROR);
     D7_SUBTRCTN_LEN_LONG = new ErrorCode(DYNAMIC, 7, "ERR D7", "The subtraction length is longer than the base value.", ERROR);
     D8_TEMPLATE_NOT_EXIST = new ErrorCode(DYNAMIC, 8, "ERR D8", "The referenced template does not exist.", ERROR);
     D9_TEMPLATE_NOT_REGISTERED = new ErrorCode(DYNAMIC, 9, "ERR D9", "The template has not been registered.", ERROR);
     R1_LARGE_DECIMAL = new ErrorCode(REPORTABLE, 1, "ERR R1", "Decimal exponent does not fit into range -63...63", WARN);
     R4_NUMERIC_VALUE_TOO_LARGE = new ErrorCode(REPORTABLE, 4, "ERR R4", "The value is too large.", WARN);
     R5_DECIMAL_CANT_CONVERT_TO_INT = new ErrorCode(REPORTABLE, 5, "ERR R5", "The decimal value cannot convert to an integer because of trailing decimal part.", WARN);
     R7_PMAP_OVERLONG = new ErrorCode(REPORTABLE, 7, "ERR R7", "The presence map is overlong.", WARN);
     R8_PMAP_TOO_MANY_BITS = new ErrorCode(REPORTABLE, 8, "ERR R8", "The presence map has too many bits.", WARN);
     R9_STRING_OVERLONG = new ErrorCode(REPORTABLE, 9, "ERR R9", "The string is overlong.", ERROR);
     GENERAL_ERROR = new ErrorCode(DYNAMIC, 100, "GENERAL", "An error has occurred.", ERROR);
     IMPOSSIBLE_EXCEPTION = new ErrorCode(DYNAMIC, 101, "IMPOSSIBLE", "This should never happen.", ERROR);
     IO_ERROR = new ErrorCode(DYNAMIC, 102, "IOERROR", "An IO error occurred.", FATAL);
     PARSE_ERROR = new ErrorCode(DYNAMIC, 103, "PARSEERR", "An exception occurred while parsing.", ERROR);
     LENGTH_FIELD = new QName("length", TEMPLATE_DEFINITION_1_1);
 }
Esempio n. 13
0
        public void RaiseError(IFormattable message, ErrorType errorType, JSchema schema, object value, IList<ValidationError> childErrors)
        {
            ValidationError error = CreateError(message, errorType, schema, value, childErrors);

            // shared cache information that could be read/populated from multiple threads
            // lock to ensure that only one thread writes known schemas
            if (Schema.KnownSchemas.Count == 0)
            {
                lock (Schema.KnownSchemas)
                {
                    if (Schema.KnownSchemas.Count == 0)
                    {
                        JSchemaDiscovery discovery = new JSchemaDiscovery(Schema.KnownSchemas, KnownSchemaState.External);
                        discovery.Discover(Schema, null);
                    }
                }
            }

            PopulateSchemaId(error);

            SchemaValidationEventHandler handler = ValidationEventHandler;
            if (handler != null)
                handler(_publicValidator, new SchemaValidationEventArgs(error));
            else
                throw JSchemaValidationException.Create(error);
        }
 public MessageItem(ErrorType ErrorType, ValidatorType ValidatorType, string Message)
 {
     this.ErrorType = ErrorType;
     this.ValidatorType = ValidatorType;
     this.Message = Message;
     Fields = new List<string>();
 }
Esempio n. 15
0
        public static void Error(string msg, Exception e, ErrorType type)
        {
            string exception_message = "";
            if (e != null)
                exception_message = "Error: " + e.Message;

            if (messages_level != MessagesLevel.MessagesNone &&
                !(messages_level == MessagesLevel.MessagesBasic && type != ErrorType.FatalError && type != ErrorType.Connect))
            {
                if (type == ErrorType.Connect)
                {
                    //Use specific Error dialog to allow changing of preferences
                    CustomMsgBox msgbox=new CustomMsgBox(msg + "\n" + exception_message,"FlickrSync Error");
                    msgbox.AddButton("OK", 75, 1, msgbox.ButtonCallOK);
                    msgbox.AddButton("Preferences",75,2,ButtonCallPref);
                    msgbox.ShowDialog();
                }
                else
                    MessageBox.Show(msg + "\n" + exception_message, "Error");
            }

            string logmsg=msg+"; "+exception_message;
            if (type == ErrorType.FatalError || type == ErrorType.Connect)
                Log(LogLevel.LogBasic, logmsg);
            else
                Log(LogLevel.LogAll, logmsg);

            if (type==ErrorType.FatalError || type==ErrorType.Connect)
                Application.Exit();
        }
Esempio n. 16
0
 public ErrorResponse(ErrorType errorType, string description = null, Uri errorUri = null, HttpStatusCode statusCode = HttpStatusCode.BadRequest)
 {
     _errorType = errorType;
     _statusCode = statusCode;
     _description = description;
     _errorUri = errorUri;
 }
 /// <summary>
 /// Initilized a new instance of <see cref="BindError"/>.
 /// </summary>
 /// <param name="type">The type of error.</param>
 /// <param name="parameter">Which <see cref="Parameter"/> does this relate to.</param>
 /// <param name="nodes">Which <see cref="AstNode"/> does this relate to.</param>
 /// <param name="message">Error message that will be shown to the end-user.</param>
 public BindError(ErrorType type, IEnumerable<Parameter> parameter, AstNode[] nodes, string message)
 {
     this.Type = type;
     this.Parameter = parameter.ToArray();
     this.Argument = nodes;
     this.Message = message;
 }
Esempio n. 18
0
 public Error(string Message, ErrorType Type, int Pos, int Line)
 {
     this.Message = Message;
     Position = Pos;
     this.Line = Line;
     this.Type = Type;
 }
Esempio n. 19
0
        public async void Start()
        {
            try
            {
                error = await Open();
                if (error != null)
                {
                    errorType = ErrorType.Open;
                }
            }
            catch (Exception e)
            {
                log.LogError("Got exception opening stream " + e.ToString());
                error = e.Message;
                errorType = ErrorType.Open;
            }

            log.LogInformation("About to await writes");

            await WriteAll();

            log.LogInformation("Writes done: setting finish");

            finished.RunSynchronously();
        }
Esempio n. 20
0
 static void DisplayBadCommandError(ErrorType type = ErrorType.General)
 {
     string[] potentials;
     switch (type)
     {
         case ErrorType.InvalidGrab:
             potentials = new[] {"I can't take that!", "How would I do that?"};
             break;
         case ErrorType.InvalidItem:
             potentials = new[] {"What is that?", "I don't see that"};
             break;
         case ErrorType.InvalidLocation:
             potentials = new string[] {"Where?", "I can't go there!"};
             break;
         case ErrorType.InvalidUse:
             potentials = new string[]
                              {"How am I supposed to do that?", "I'm sorry Dave, I'm afraid I can't do that."};
             break;
         case ErrorType.InvalidSingleUse:
             potentials = new string[]{"On what?"};
             break;
         case ErrorType.General:
         default:
             potentials = new string[] {"Now you're just talking nonsense!", "What?"};
             break;
     }
     Terminal.WriteLine(potentials[new Random().Next(potentials.Count())]);
 }
        public override void RaiseError(string message, ErrorType errorType, JSchema schema, object value, IList<ValidationError> childErrors)
        {
            if (Errors == null)
                Errors = new List<ValidationError>();

            Errors.Add(Validator.CreateError(message, errorType, schema, value, childErrors));
        }
Esempio n. 22
0
    private void showErrorMessage(ErrorType error)
    {
        GameObject msgBox = null; // Set to null to avoid errors on compilation time
        string dialogName = null;
        switch (error)
        {
            case ErrorType.CIVILIZATION_MISSING:
                msgBox = (GameObject) Instantiate(prefabs[0]);
                msgBox.name = ERROR_DIALOG_CIVILIZATION;
                dialogName = ERROR_DIALOG_CIVILIZATION;
                break;
            case ErrorType.GAME_MODE_MISSING:
                msgBox = (GameObject) Instantiate(prefabs[1]);
                msgBox.name = ERROR_DIALOG_GAME_MODE;
                dialogName = ERROR_DIALOG_GAME_MODE;
                break;
            case ErrorType.SKILL_MISSING:
                msgBox = (GameObject) Instantiate(prefabs[2]);
                msgBox.name = ERROR_DIALOG_SKILL;
                dialogName = ERROR_DIALOG_SKILL;
                break;
        }
		msgBox.GetComponentInChildren<Button>().onClick.AddListener(() => {
            GameObject obj = GameObject.Find(dialogName);
            Destroy(obj);
        });
    }
 public BigStashException(string message,
                                 ErrorType errorType = ErrorType.NotSet,
                                 ErrorCode errorCode = ErrorCode.NotSet)
     : base(message)
 {
     this.ErrorType = errorType; this.ErrorCode = errorCode;
 }
        public UserErrorTranslation GetUserErrorTranslation(
            ErrorType errorType,
            [AllowNull] Exception exception,
            params object[] context)
        {
            ErrorMessage errorMessage = null;
            ErrorMap errorMap;
            if (userErrorMappings.TryGetValue(ErrorType.Global, out errorMap) && errorMap != null)
            {
                errorMessage = errorMap.GetErrorInfo(exception);
            }

            if (errorMessage == null)
            {
                if (!userErrorMappings.TryGetValue(errorType, out errorMap) || errorMap == null)
                    throw new InvalidOperationException("This should never happen!");
            }

            errorMessage = errorMap.GetErrorInfo(exception) ?? new ErrorMessage("error", "Unknown error occurred");
            string details = errorMessage.Message;
            string heading = errorMessage.Heading;
            if (context != null && context.Any())
            {
                heading = String.Format(CultureInfo.InvariantCulture, heading, context);
                details = String.Format(CultureInfo.InvariantCulture, details, context);
            }

            return new UserErrorTranslation(heading, details, errorMap.RecoveryCommands);
        }
Esempio n. 25
0
 public ErrorInfo(string propertyName, string errorMessage, object onObject, ErrorType errorType)
 {
     this.PropertyName = propertyName;
     this.ErrorMessage = errorMessage;
     this.Object = onObject;
     this.ErrorType = errorType;
 }
Esempio n. 26
0
 public LogManager(ErrorType writeToConsole = ErrorType.ERROR, ErrorType writeToFile = ErrorType.ERROR, String logPath = null, bool writeDateTime = false)
 {
     this.logPath = logPath ?? AppDomain.CurrentDomain.BaseDirectory + "logFile.log";
     this.writeToConsole = writeToConsole;
     this.writeToFile = writeToFile;
     this.writeDateTime = writeDateTime;
 }
Esempio n. 27
0
 public Error(string description, ErrorType errorType) {
     if (string.IsNullOrEmpty(description)) {
         throw new ArgumentNullException("description", "Error descriptions cannot be Null or empty.");
     }
     this._description = description;
     this._errorType = errorType;
 }
Esempio n. 28
0
 //--------------------------------------------------------------
 /// <summary>
 /// Initializes a new instance of the <see cref="Error"/> class.
 /// </summary>
 /// <param name="errorType">The type of the item.</param>
 /// <param name="description">The description.</param>
 /// <param name="location">
 /// The location, e.g. the file name. Can be <see langword="null"/>.
 /// </param>
 /// <param name="line">
 /// The line number. Use <see langword="null"/> to show no line number.
 /// </param>
 /// <param name="column">
 /// The column number. Use <see langword="null"/> to show no column number.
 /// </param>
 public Error(ErrorType errorType, string description, string location = null, int? line = null, int? column = null)
 {
     ErrorType = errorType;
     _description = description;
     _location = location;
     _line = line;
     _column = column;
 }
 public AmazonServiceException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, innerException)
 {
     this.errorCode = errorCode;
     this.errorType = errorType;
     this.requestId = requestId;
     this.statusCode = statusCode;
 }
 protected internal AmazonServiceException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message)
 {
     this.errorCode = errorCode;
     this.errorType = errorType;
     this.requestId = requestId;
     this.statusCode = statusCode;
 }
Esempio n. 31
0
 public InvalidGeoRestrictionParameterException(string message, ErrorType errorType, string errorCode, string RequestId, HttpStatusCode statusCode)
     : base(message, errorType, errorCode, RequestId, statusCode)
 {
 }
Esempio n. 32
0
 /// <summary>
 /// Construct instance of AccessDeniedForDependencyException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public AccessDeniedForDependencyException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, errorType, errorCode, requestId, statusCode)
 {
 }
 /// <summary>
 /// Construct instance of ReportLimitReachedException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public ReportLimitReachedException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, errorType, errorCode, requestId, statusCode)
 {
 }
 public InvalidAccessKeyIdException(string message, ErrorType errorType, string errorCode, string RequestId, HttpStatusCode statusCode)
     : base(message, errorType, errorCode, RequestId, statusCode)
 {
 }
Esempio n. 35
0
 /// <summary>
 /// Construct instance of AmazonSecurityTokenServiceException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="innerException"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public AmazonSecurityTokenServiceException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, innerException, errorType, errorCode, requestId, statusCode)
 {
 }
 /// <summary>
 /// Construct instance of InvalidInputException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="innerException"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public InvalidInputException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, innerException, errorType, errorCode, requestId, statusCode)
 {
 }
 /// <summary>
 /// Construct instance of SnapshotScheduleUpdateInProgressException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public SnapshotScheduleUpdateInProgressException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, errorType, errorCode, requestId, statusCode)
 {
 }
Esempio n. 38
0
 /// <summary>
 /// Construct instance of NotAuthorizedException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public NotAuthorizedException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, errorType, errorCode, requestId, statusCode)
 {
 }
 /// <summary>
 /// Construct instance of InternalServerErrorException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public InternalServerErrorException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, errorType, errorCode, requestId, statusCode)
 {
 }
Esempio n. 40
0
 internal AmazonElasticMapReduceException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, innerException, errorType, errorCode, requestId, statusCode)
 {
 }
Esempio n. 41
0
 /// <summary>
 /// Construct instance of DBClusterSnapshotAlreadyExistsException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public DBClusterSnapshotAlreadyExistsException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) 
     : base(message, errorType, errorCode, requestId, statusCode) {}
Esempio n. 42
0
 /// <summary>
 /// Construct instance of DBClusterEndpointQuotaExceededException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public DBClusterEndpointQuotaExceededException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, errorType, errorCode, requestId, statusCode)
 {
 }
Esempio n. 43
0
 /// <summary>
 /// Construct instance of TargetsRequiredException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public TargetsRequiredException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, errorType, errorCode, requestId, statusCode)
 {
 }
Esempio n. 44
0
 /// <summary>
 /// Construct an instance of AmazonS3Exception
 /// </summary>
 /// <param name="message"></param>
 /// <param name="innerException"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 /// <param name="amazonId2"></param>
 public AmazonS3Exception(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode, string amazonId2)
     : base(message, innerException, errorType, errorCode, requestId, statusCode)
 {
     this.AmazonId2 = amazonId2;
 }
Esempio n. 45
0
 public InsufficientPrivilegesException(string message, ErrorType errorType, string errorCode, string RequestId, HttpStatusCode statusCode)
     : base(message, errorType, errorCode, RequestId, statusCode)
 {
 }
Esempio n. 46
0
 /// <summary>
 /// Construct an instance of AmazonS3Exception
 /// </summary>
 /// <param name="message"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public AmazonS3Exception(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, errorType, errorCode, requestId, statusCode)
 {
 }
 /// <summary>
 /// Construct instance of NodeGroupNotFoundException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="innerException"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public NodeGroupNotFoundException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, innerException, errorType, errorCode, requestId, statusCode)
 {
 }
 /// <summary>
 /// Construct instance of PipelineNotFoundException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public PipelineNotFoundException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, errorType, errorCode, requestId, statusCode)
 {
 }
Esempio n. 49
0
 /// <summary>
 /// Construct instance of TooManyCacheBehaviorsException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public TooManyCacheBehaviorsException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, errorType, errorCode, requestId, statusCode)
 {
 }
Esempio n. 50
0
 /// <summary>
 /// Construct instance of ApprovalRuleTemplateDoesNotExistException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public ApprovalRuleTemplateDoesNotExistException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, errorType, errorCode, requestId, statusCode)
 {
 }
Esempio n. 51
0
 /// <summary>
 /// Construct instance of ResourceInUseException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="innerException"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public ResourceInUseException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, innerException, errorType, errorCode, requestId, statusCode)
 {
 }
Esempio n. 52
0
 /// <summary>
 /// Construct instance of ResourceLimitExceededException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public ResourceLimitExceededException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, errorType, errorCode, requestId, statusCode)
 {
 }
Esempio n. 53
0
 /// <summary>
 /// Construct instance of CommentDeletedException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public CommentDeletedException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, errorType, errorCode, requestId, statusCode)
 {
 }
Esempio n. 54
0
 /// <summary>
 /// Construct instance of VersionsLimitExceededException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="innerException"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public VersionsLimitExceededException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, innerException, errorType, errorCode, requestId, statusCode)
 {
 }
Esempio n. 55
0
 /// <summary>
 /// Construct instance of ReferenceTypeNotSupportedException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public ReferenceTypeNotSupportedException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, errorType, errorCode, requestId, statusCode)
 {
 }
 /// <summary>
 /// Construct instance of InvalidSubnetException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public InvalidSubnetException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, errorType, errorCode, requestId, statusCode)
 {
 }
 /// <summary>
 /// Construct instance of IdempotencyException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public IdempotencyException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, errorType, errorCode, requestId, statusCode)
 {
 }
 /// <summary>
 /// Construct instance of FinalizingOrganizationException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public FinalizingOrganizationException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, errorType, errorCode, requestId, statusCode)
 {
 }
 /// <summary>
 /// Construct instance of FieldLevelEncryptionConfigAlreadyExistsException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public FieldLevelEncryptionConfigAlreadyExistsException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, errorType, errorCode, requestId, statusCode)
 {
 }
Esempio n. 60
0
 /// <summary>
 /// Construct instance of TooManyTrustedSignersException
 /// </summary>
 /// <param name="message"></param>
 /// <param name="errorType"></param>
 /// <param name="errorCode"></param>
 /// <param name="requestId"></param>
 /// <param name="statusCode"></param>
 public TooManyTrustedSignersException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
     : base(message, errorType, errorCode, requestId, statusCode)
 {
 }