MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / ArgumentException

Class ArgumentException

Source/Engine/Debug/Exceptions/ArgumentException.h:12–42  ·  view source on GitHub ↗

The exception that is thrown when an Arguments are not valid.

Source from the content-addressed store, hash-verified

10 /// The exception that is thrown when an Arguments are not valid.
11 /// </summary>
12 class ArgumentException : public Exception
13 {
14 public:
15
16 /// <summary>
17 /// Init
18 /// </summary>
19 ArgumentException()
20 : ArgumentException(String::Empty)
21 {
22 }
23
24 /// <summary>
25 /// Creates default exception with additional data
26 /// </summary>
27 /// <param name="additionalInfo">Additional information that help describe error</param>
28 ArgumentException(const String& additionalInfo)
29 : Exception(TEXT("One or more of provided arguments are not valid."), additionalInfo)
30 {
31 }
32
33 /// <summary>
34 /// Creates default exception with additional data
35 /// </summary>
36 /// <param name="argumentName">Argument name</param>
37 /// <param name="additionalInfo">Additional information that help describe error</param>
38 ArgumentException(const String& argumentName, const String& additionalInfo)
39 : Exception(String::Format(TEXT("Provided argument {0} is not valid."), argumentName), additionalInfo)
40 {
41 }
42 };
43}

Callers 3

LoadSceneMethod · 0.85
LoadSceneAsyncMethod · 0.85
ApplyAllMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected