2014-11-22 23:16:45 +01:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Copyright 2014 Anno van Vliet
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
package org.jivesoftware.smackx.xdatavalidation;
|
|
|
|
|
|
|
|
import org.jivesoftware.smackx.xdatavalidation.packet.ValidateElement;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Exception thrown when {@link ValidateElement} is not consistent with the business rules in XEP=0122.
|
|
|
|
*
|
|
|
|
* @author Anno van Vliet
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public class ValidationConsistencyException extends IllegalArgumentException {
|
|
|
|
|
|
|
|
/**
|
2018-05-09 23:06:12 +02:00
|
|
|
*
|
2014-11-22 23:16:45 +01:00
|
|
|
*/
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
/**
|
2015-03-29 12:15:32 +02:00
|
|
|
* Validation consistency exception constructor.
|
2019-08-30 12:08:30 +02:00
|
|
|
* @param message TODO javadoc me please
|
2014-11-22 23:16:45 +01:00
|
|
|
*/
|
|
|
|
public ValidationConsistencyException(String message) {
|
2016-11-29 12:01:41 +01:00
|
|
|
super(message);
|
2014-11-22 23:16:45 +01:00
|
|
|
}
|
|
|
|
}
|