From 5b6928a08b7e5e4500783f5fd6985459eee368d8 Mon Sep 17 00:00:00 2001 From: Wil Moore III Date: Mon, 18 Feb 2013 03:31:57 -0700 Subject: [PATCH] Update _posts/05-05-01-Exceptions.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The original purpose of this edit was to correct a gramatical error; however, this turned into a more detailed explanation of `Exception` sub-classing. --- _posts/05-05-01-Exceptions.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_posts/05-05-01-Exceptions.md b/_posts/05-05-01-Exceptions.md index 67262a7..685caa1 100644 --- a/_posts/05-05-01-Exceptions.md +++ b/_posts/05-05-01-Exceptions.md @@ -42,7 +42,8 @@ catch(Fuel\Email\SendingFailedException $e) ### SPL Exceptions -An Exception by default has no meaning and the most common to give it meaning is by setting its name: +The generic `Exception` class provides very little debugging context for the developer; however, to remedy this, +it is possible to create a specialized `Exception` type by sub-classing the generic `Exception` class: {% highlight php %}