/*
 * Copyright 2017 Kaiserpfalz EDV-Service, Roland T. Lichti
 *
 * 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 de.kaiserpfalzedv.office.tenant.client;

import de.kaiserpfalzedv.commons.api.commands.CrudCommands;
import de.kaiserpfalzedv.commons.api.messaging.ClientCommunicationException;
import de.kaiserpfalzedv.office.tenant.api.Tenant;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.UUID;

/**
 * @author klenkes {@literal <rlichti@kaiserpfalz-edv.de>}
 * @version 1.0.0
 * @since 2016-09-26
 */
public class TenantClientCommunicationException extends ClientCommunicationException {
    private static final Logger LOG = LoggerFactory.getLogger(TenantClientCommunicationException.class);

    public TenantClientCommunicationException(
            final CrudCommands command,
            final UUID correlationId,
            final String messageId,
            final UUID objectId,
            final Throwable cause
    ) {
        super(Tenant.class, command, correlationId, messageId, objectId, cause);
    }

    public TenantClientCommunicationException(
            final CrudCommands command,
            final UUID correlationId,
            final String messageId,
            final Throwable cause
    ) {
        super(Tenant.class, command, correlationId, messageId, cause);
    }
}
