001/* 002 * Copyright (c) 2015 Maxim Yunusov 003 * Licensed under the Apache License, Version 2.0 (the "License"); 004 * you may not use this file except in compliance with the License. 005 * You may obtain a copy of the License at 006 * 007 * http://www.apache.org/licenses/LICENSE-2.0 008 * 009 * Unless required by applicable law or agreed to in writing, software 010 * distributed under the License is distributed on an "AS IS" BASIS, 011 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 012 * See the License for the specific language governing permissions and 013 * limitations under the License. 014 */ 015 016package org.maxur.perfmodel.backend.domain; 017 018import static java.lang.String.format; 019 020/** 021 * @author myunusov 022 * @version 1.0 023 * @since <pre>08.09.2015</pre> 024 */ 025public class ConflictException extends Exception { 026 027 private static final long serialVersionUID = 8538245899720208225L; 028 029 /** 030 * Create Validation Exception. 031 * <p> 032 * @param message message template. 033 * @param args Arguments referenced by the format specifiers in the format string. 034 */ 035 public ConflictException(final String message, final String... args) { 036 super(format(message, args)); 037 } 038}