| java.lang.Object java.lang.Throwable java.lang.Exception net.firstpartners.nounit.utility.NoUnitException
NoUnitException | public class NoUnitException extends Exception (Code) | | System Wide Exception (containing original Exception & user friendly message)
thrown whenever invalid values are found.
|
NoUnitException | public NoUnitException(Exception inException, String userFriendlyMessage)(Code) | | Constructor , repackages other Exceptions to add (User Friendly) information
Parameters: inException - to hold Parameters: userFriendlyMessage - to display to user |
NoUnitException | public NoUnitException(String inValidValueName, String inValidValue)(Code) | | Constructor , calls exception with value pair information
Parameters: inValidValueName - - the name the value was stored under Parameters: inValidValue - - the value that was rejected |
NoUnitException | public NoUnitException(String inValidValueName, String inValidValue, String reason)(Code) | | Constructor , calls exception with value pair information , plus reason
Parameters: inValidValueName - - the name the value was stored under Parameters: inValidValue - - the value that was rejected Parameters: reason - - the reason why the value was rejected |
NoUnitException | public NoUnitException(String inUserErrorMessage)(Code) | | Constructor , calls exception with value pair information , plus reason
Parameters: inUserErrorMessage - that will be displayed to the user |
getOriginalException | public Exception getOriginalException()(Code) | | return the internal / original Exception , if any
internalException that is stored when this was created |
getUserErrorMessage | public String getUserErrorMessage()(Code) | | Returns the userFriendly Error Message
userErrorMessage |
toString | public String toString()(Code) | | Over-rides the toString method to provide more information.
infoString containing concatanated original error (if any) , plusany user friendly messages. |
|
|