spcp7.imagegallery.abstractionlayer.exception
Class PropertyValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by spcp7.imagegallery.abstractionlayer.exception.PropertyValidationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PropertyBooleanValidationException, PropertyNumberValidationException

public class PropertyValidationException
extends java.lang.Exception

This method is the superclass for all property related exceptions. In this class offending "wert" (value) and "schluessel" (keys) can be set.

Author:
Phillip Merensky
See Also:
Exception, Serialized Form

Constructor Summary
PropertyValidationException(java.lang.String message, java.lang.String schluessel, java.lang.String wert)
           
PropertyValidationException(java.lang.String message, java.lang.Throwable cause, java.lang.String schluessel, java.lang.String wert)
           
PropertyValidationException(java.lang.Throwable cause, java.lang.String schluessel, java.lang.String wert)
           
 
Method Summary
 java.lang.String getSchluessel()
           
 java.lang.String getWert()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyValidationException

public PropertyValidationException(java.lang.String message,
                                   java.lang.String schluessel,
                                   java.lang.String wert)
Parameters:
message -
schluessel - The offending key of the property.
wert - The offending value of the property.

PropertyValidationException

public PropertyValidationException(java.lang.Throwable cause,
                                   java.lang.String schluessel,
                                   java.lang.String wert)
Parameters:
cause -
schluessel - The offending key of the property.
wert - The offending value of the property.

PropertyValidationException

public PropertyValidationException(java.lang.String message,
                                   java.lang.Throwable cause,
                                   java.lang.String schluessel,
                                   java.lang.String wert)
Parameters:
message -
cause -
schluessel - The offending key of the property.
wert - The offending value of the property.
Method Detail

getWert

public java.lang.String getWert()
Returns:
the offending "wert" (value) of the property.

getSchluessel

public java.lang.String getSchluessel()
Returns:
the offending "schluessel" (key) of the property.


Copyright © 2008. All Rights Reserved.