@@ -0,0 +1,1970 @@
+/*%0A * Copyright 2017, TeamDev Ltd. All rights reserved.%0A *%0A * Redistribution and use in source and/or binary forms, with or without%0A * modification, must retain the above copyright notice and the following%0A * disclaimer.%0A *%0A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS%0A * %22AS IS%22 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT%0A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR%0A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT%0A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,%0A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT%0A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,%0A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY%0A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT%0A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE%0A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.%0A */%0A%0Apackage org.spine3.validate;%0A%0Aimport java.text.ParseException;%0A%0A/**%0A * Signals that an error has been reached unexpectedly while conversion from one type to another.%0A *%0A * @author Illia Shepilov%0A */%0A@SuppressWarnings(%22ExceptionClassNameDoesntEndWithException%22)%0A// It is OK, because it is not %7B@code Exception%7D in usual meaning.%0A// It is occurred when input value cannot be converted to desirable type%0A// and repeated input is required.%0Apublic class ConversionError extends ParseException %7B%0A%0A    private static final long serialVersionUID = 1L;%0A%0A    /**%0A     * Constructs a ParseException with the specified detail message and%0A     * offset.%0A     * A detail message is a String that describes this particular exception.%0A     *%0A     * @param s           the detail message%0A     * @param errorOffset the position where the error is found while parsing.%0A     */%0A    public ConversionError(String s, int errorOffset) %7B%0A        super(s, errorOffset);%0A    %7D%0A%7D%0A

Create `ConversionError`.