KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sslexplorer > core > FieldValidationException


1 package com.sslexplorer.core;
2
3 public class FieldValidationException extends Exception JavaDoc {
4     
5     private String JavaDoc resourceKey;
6     
7     /**
8      * Constructor
9      *
10      * @param resourceKey resource key to use for exception text
11      */

12     public FieldValidationException(String JavaDoc resourceKey){
13         super(); // Call default Super Constructor
14
this.resourceKey = resourceKey;
15     }
16     
17     /**
18      * Get the resource key to use for the
19      * field validation exception text
20      *
21      * @return resource key to use for message
22      */

23     public String JavaDoc getResourceKey() {
24         return resourceKey;
25     }
26 }
27
Popular Tags