Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
AssetException.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using System;
4 using SiliconStudio.Core;
5 
6 namespace SiliconStudio.Assets
7 {
8  /// <summary>
9  /// An AssetException.
10  /// </summary>
11  public class AssetException : Exception
12  {
13  /// <summary>
14  /// Initializes a new instance of the <see cref="AssetException"/> class.
15  /// </summary>
16  public AssetException()
17  {
18  }
19 
20  /// <summary>
21  /// Initializes a new instance of the <see cref="T:System.Exception" /> class with a specified error message.
22  /// </summary>
23  /// <param name="message">The message that describes the error.</param>
24  public AssetException(string message) : base(message)
25  {
26  }
27 
28  /// <summary>
29  /// Initializes a new instance of the <see cref="T:System.Exception" /> class with a specified error message.
30  /// </summary>
31  /// <param name="message">The message that describes the error.</param>
32  /// <param name="formattedArguments">The formatted arguments.</param>
33  public AssetException(string message, params object[] formattedArguments)
34  : base(message.ToFormat(formattedArguments))
35  {
36  }
37 
38  /// <summary>
39  /// Initializes a new instance of the <see cref="T:System.Exception" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.
40  /// </summary>
41  /// <param name="message">The error message that explains the reason for the exception.</param>
42  /// <param name="innerException">The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.</param>
43  public AssetException(string message, Exception innerException) : base(message, innerException)
44  {
45  }
46  }
47 }
AssetException()
Initializes a new instance of the AssetException class.
AssetException(string message, params object[] formattedArguments)
Initializes a new instance of the T:System.Exception class with a specified error message...
AssetException(string message)
Initializes a new instance of the T:System.Exception class with a specified error message...
AssetException(string message, Exception innerException)
Initializes a new instance of the T:System.Exception class with a specified error message and a refer...