Now on: joopl.ArgumentException
Represents an exception that occurs when some method argument is missing or invalid
Constructor
joopl.ArgumentException
(
-
argName
-
reason
Parameters:
-
argName
StringThe affected argument name
-
reason
String(optional) A reason text explaining what was wrong with the affected argument
Example:
throw new $global.joopl.ArgumentException({ argName: "someArgument"});
Properties
Methods
toString
()
String
Returns the exception message plus the stack trace as a concatenated string
Returns:
String:
The exception message plus the stack trace as a concatenated string
Properties
argName
String
Gets the affected argument name
error
Error
Gets underlying Error
instance
innerException
Exception
Gets an inner exception (optional) which provides information about the sorrounding one
message
String
Gets the human-readable reason text for this exception
stackTrace
Array
Gets the exception's stack trace as an array where each index is a code line