/**
* Exception thrown when the property is invalid.
- * @author Daniel Brunier-Coulin
+ *
+ * @author Daniel Brunier-Coulin
* @copyright OPEN CASCADE 2012
*/
private static final long serialVersionUID = -3988379180445723963L;
/**
- * Create a InvalidPropertyException.
- * @param message the error message.
+ * Create a InvalidPropertyException.
+ *
+ * @param message
+ * the error message.
*/
- public InvalidPropertyException (final String message) {
- super(message);
- }
+ public InvalidPropertyException(final String message) {
+ super(message);
+ }
+
+ /**
+ * Create a InvalidPropertyException.
+ *
+ * @param messageKey
+ * error message key
+ * @param context
+ * parameters
+ */
+ public InvalidPropertyException(final String messageKey,
+ final Object... context) {
+ super(messageKey, context);
+ // TODO auto-generated constructor
+ }
+
+ /**
+ * Create a InvalidPropertyException.
+ *
+ * @param messageKey
+ * error message key
+ * @param throwable
+ * the original exception
+ * @param context
+ * parameters
+ */
+ public InvalidPropertyException(final String messageKey,
+ final Throwable throwable, final Object... context) {
+ super(messageKey, throwable, context);
+ }
}
\ No newline at end of file