@@ -0,0 +1,1938 @@
+/*%0A * Licensed to the Apache Software Foundation (ASF) under one or more%0A * contributor license agreements. See the NOTICE file distributed with%0A * this work for additional information regarding copyright ownership.%0A * The ASF licenses this file to You under the Apache license, Version 2.0%0A * (the %22License%22); you may not use this file except in compliance with%0A * the License. You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the license for the specific language governing permissions and%0A * limitations under the license.%0A */%0Apackage org.apache.logging.log4j.io;%0A%0Aimport org.apache.logging.log4j.Logger;%0Aimport org.apache.logging.log4j.LoggingException;%0Aimport org.apache.logging.log4j.spi.ExtendedLogger;%0A%0A/**%0A * Indicates that a provided %7B@link org.apache.logging.log4j.Logger%7D does not implement %7B@link ExtendedLogger%7D.%0A *%0A * @since 2.1%0A */%0Apublic class IncompatibleLoggerException extends LoggingException %7B%0A%0A    private static final long serialVersionUID = 6861427446876787666L;%0A%0A    /**%0A     * Constructs a new IncompatibleLoggerException using the type of the provided Logger. If %7B@code logger%7D is%0A     * %7B@code null%7D, then the type is printed as %22null%22. Note that this exception should only be thrown in situations%0A     * where a Logger was provided but did not implement ExtendedLogger.%0A     *%0A     * @param logger the provided Logger that was not an ExtendedLogger%0A     */%0A    public IncompatibleLoggerException(final Logger logger) %7B%0A        super(%0A            %22Incompatible Logger class. Expected to implement %22 + ExtendedLogger.class.getName() + %22. Got: %22%0A                + (logger == null ? %22null%22 : logger.getClass().getName())%0A        );%0A    %7D%0A%0A%7D%0A

Add IncompatibleLoggerException.