KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portlet > forums > commands > ValidationException


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Forums JBoss Portlet *
6  * *
7  * Distributable under GPL license. *
8  * See terms of license at gnu.org. *
9  * *
10  *****************************************/

11 package org.jboss.portlet.forums.commands;
12
13 import org.jboss.portal.common.command.result.Result;
14
15 /**
16  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
17  * @version $Revision: 1.1.1.1 $
18  */

19 public class ValidationException
20    extends Exception JavaDoc
21 {
22    /**
23     * Creates a new {@link ValidationException} object.
24     *
25     * @param result DOCUMENT_ME
26     */

27    public ValidationException(Result result)
28    {
29       this.result = result;
30    }
31
32    private Result result;
33
34    /**
35     * DOCUMENT_ME
36     *
37     * @return DOCUMENT_ME
38     */

39    public Result getResult()
40    {
41       return result;
42    }
43 }
Popular Tags