Exception(message: String, self: Object);
message. Message passed to exception. This is an optional parameter, by default its value is not defined.
self. Exception source. This is an optional parameter, by default its value is not defined.
The Exception method is the exception thrown if some values are invalid.
This method returns a String value in the following format: Exception. Source: [Exception source] Message: [Message to be shown].
The example of use is given in the with description of the static method PP.isDate.
See also: