From 23b4cde859059c350bdd95ddfac317be62705561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Tue, 8 Mar 2011 11:23:24 +0100 Subject: Reference manual: Don't mention fault/{1,2} --- system/doc/reference_manual/errors.xml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'system/doc/reference_manual/errors.xml') diff --git a/system/doc/reference_manual/errors.xml b/system/doc/reference_manual/errors.xml index 02885a3813..99e48544d6 100644 --- a/system/doc/reference_manual/errors.xml +++ b/system/doc/reference_manual/errors.xml @@ -48,10 +48,8 @@ The Erlang programming language has built-in features for handling of run-time errors.

A run-time error can also be emulated by calling - erlang:error(Reason), erlang:error(Reason, Args) - (those appeared in Erlang 5.4/OTP-R10), - erlang:fault(Reason) or erlang:fault(Reason, Args) - (old equivalents).

+ erlang:error(Reason) or erlang:error(Reason, Args) + (those appeared in Erlang 5.4/OTP-R10).

A run-time error is another name for an exception of class error.

@@ -91,7 +89,7 @@ error - Run-time error for example 1+a, or the process called erlang:error/1,2 (appeared in Erlang 5.4/OTP-R10B) or erlang:fault/1,2 (old equivalent) + Run-time error for example 1+a, or the process called erlang:error/1,2 (appeared in Erlang 5.4/OTP-R10B) exit -- cgit v1.2.3 From 18cb45518979a0825f92ffaa11e0c14721f460bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Tue, 8 Mar 2011 11:23:58 +0100 Subject: Reference manual: Add missing right parenthesis --- system/doc/reference_manual/errors.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/doc/reference_manual/errors.xml') diff --git a/system/doc/reference_manual/errors.xml b/system/doc/reference_manual/errors.xml index 99e48544d6..2160398700 100644 --- a/system/doc/reference_manual/errors.xml +++ b/system/doc/reference_manual/errors.xml @@ -106,7 +106,7 @@ and a stack trace (that aids in finding the code location of the exception).

The stack trace can be retrieved using - erlang:get_stacktrace/0 (new in Erlang 5.4/OTP-R10B + erlang:get_stacktrace/0 (new in Erlang 5.4/OTP-R10B) from within a try expression, and is returned for exceptions of class error from a catch expression.

An exception of class error is also known as a run-time -- cgit v1.2.3 From d53be747c945d5e86997e1944446795b271dacb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn-Egil=20Dahlberg?= Date: Fri, 11 Mar 2011 17:34:22 +0100 Subject: Update copyright years --- system/doc/reference_manual/errors.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/doc/reference_manual/errors.xml') diff --git a/system/doc/reference_manual/errors.xml b/system/doc/reference_manual/errors.xml index 2160398700..4e207021d3 100644 --- a/system/doc/reference_manual/errors.xml +++ b/system/doc/reference_manual/errors.xml @@ -4,7 +4,7 @@

- 20032009 + 20032011 Ericsson AB. All Rights Reserved. -- cgit v1.2.3