built-in method
throw/1
ï
Descriptionï
throw(Exception)
Throws an exception. See also the ISO Prolog standard definition. This built-in method is declared private and thus cannot be used as a message to an object.
Modes and number of proofsï
throw(+nonvar) - error
Errorsï
Exception
is a variable:instantiation_error
Exception
does not unify with the second argument of any call of catch/3:system_error
Examplesï
(none)