Because the exception is meant to be abstract. Use
RestartResponseException instead.

The generated javadoc [1] clearly tells the direct subclasses, and
your IDE should also be able to tell which are the subclasses
(Eclipse: press f4 on the AbstractRestartResponseException).

Martijn

[1] 
http://wicketframework.org/apidocs/wicket/AbstractRestartResponseException.html

On 4/24/07, Andrew Klochkov <[EMAIL PROTECTED]> wrote:
> I want to start responce step immediately and I have to use the
> following strange code:
>
> throw new AbstractRestartResponseException() {
>             };
>
> Why is this class abstract?
>
> --
> Andrew Klochkov
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-- 
Learn Wicket at ApacheCon Europe: http://apachecon.com
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to