In Exception§

See primary documentation in context for method throw.

method throw(Exception:D:)

Throws the exception.

my $exception = X::AdHoc.new;    # Totally fine
try $exception.throw;            # Throws
if ($!) { #`( some handling ) }; # Suppress the exception