Author: tandraschko
Date: Mon Jul 14 09:56:21 2014
New Revision: 1610370
URL: http://svn.apache.org/r1610370
Log:
#DELTASPIKE-642 Better structure for Core documentation
Modified:
deltaspike/site/trunk/content/core.mdtext
Modified: deltaspike/site/trunk/content/core.mdtext
URL:
http://svn.apache.org/viewvc/deltaspike/site/trunk/content/core.mdtext?rev=1610370&r1=1610369&r2=1610370&view=diff
==============================================================================
--- deltaspike/site/trunk/content/core.mdtext (original)
+++ deltaspike/site/trunk/content/core.mdtext Mon Jul 14 09:56:21 2014
@@ -498,8 +498,6 @@ you would observe an event in CDI.
### Usage
-#### Eventing into the exception handling framework
-
The entire exception handling process starts with an event. This helps keep
your application minimally coupled to DeltaSpike, but also allows for further
extension. Exception handling in DeltaSpike is all about letting you take care
@@ -566,14 +564,12 @@ Exception handlers are considered equal
class, have the same qualifiers, the same ordinal and the same value for
`isBeforeHandler()`.
-#### Annotations
-
Exception handlers are contained within exception handler beans, which are CDI
beans annotated with `@ExceptionHandler`. Exception handlers are methods
which have a parameter which is an instance of `ExceptionEvent<T extends
Throwable>` annotated with the `@Handles` annotation.
-##### `@ExceptionHandler`
+#### `@ExceptionHandler`
The `@ExceptionHandler` annotation is simply a marker annotation that
instructs the DeltaSpike exception handling CDI extension to scan the bean for
@@ -588,7 +584,7 @@ Let's designate a CDI bean as an excepti
That's all there is to it. Now we can begin defining exception handling
methods on this bean.
-##### `@Handles` and `@BeforeHandles`
+#### `@Handles` and `@BeforeHandles`
`@Handles` is a method parameter annotation that designates a method as an
exception handler. Exception handler methods are registered on beans annotated