All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.trumphurst.utils.ValidationExceptionHandler

public interface ValidationExceptionHandler
Error handler to handle errors when loading a TProperties from a stream.

See Also:
load, fullload

Variable Index

 o version

Method Index

 o handleException(String, String, String, String, String, Exception)
Method called for each exception encountered.

Variables

 o version
 public static final RCSVersion version

Methods

 o handleException
 public abstract String handleException(String setcmd,
                                        String key,
                                        String value,
                                        String classname,
                                        String arguments,
                                        Exception e)
Method called for each exception encountered.

Parameters:
setcmd - the command line causing the exception
key - the key parsed from setcmd
value - the value parsed from setcmd
classname - the classname parsed from setcmd (if any)
arguments - the arguments parsed from setcmd (if any)
e - the exception thrown
Returns:
Null, or the original line
The original property is replaced with a TStringProperty containing the value
A string starting with ";", or an invalid command line
The original property is left unchanged
A different valid command line
The new command line is reparsed and reprocessed
See Also:
load, fullload

All Packages  Class Hierarchy  This Package  Previous  Next  Index