- Direct known subclasses:\throwables\FileException
The class \core\WAException
is the root of any event that should be catched because they are not critical for the application working and should be analyzed by the code. The exception should be captured with the try-catch
In other words, using a code that can throw an exception should be programmed this way:
catch (\core\WAException $e)
// log the error, undo things, say error, etc.
3.1. Constructor:\core\WAException($message) $message
contains the message to notify the error thrown.