Package de.xima.fc.exceptions
Class ValidationException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- java.lang.RuntimeException
 - 
- de.xima.fc.exceptions.AbstractXfcRuntimeException
 - 
- de.xima.fc.exceptions.ValidationException
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 IXfcException,Serializable
public final class ValidationException extends AbstractXfcRuntimeException
Ausnahme für fehlgeschlagene Validierungen.- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ValidationException(Class<?> targetType, String propName, String valErr) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDefaultErrorCode()StringgetDefaultMessageKey()StringgetPropertyName()Class<?>getTargetType()StringgetValidationError()- 
Methods inherited from class de.xima.fc.exceptions.AbstractXfcRuntimeException
getErrorCode, getExceptionData, getLocalizedMessage, getMessageKey, getMessageParams 
- 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getValidationError
public String getValidationError()
- Returns:
 - Beschreibung des Grundes für das Fehlschlagen der Validierung.
 
 
- 
getTargetType
public Class<?> getTargetType()
- Returns:
 - Objektklasse mit der invaliden Eigenschaft.
 
 
- 
getPropertyName
public String getPropertyName()
- Returns:
 - Name der invaliden Eigenschaft.
 
 
- 
getDefaultMessageKey
public String getDefaultMessageKey()
 
- 
getDefaultErrorCode
public String getDefaultErrorCode()
 
 - 
 
 -