// Path: src/main/java/org/fuin/ddd4j/ddd/Ddd4JUtils.java
// public static final String SHORT_ID_PREFIX = "DDD4J";


import org.fuin.objects4j.common.Nullable;
import org.fuin.objects4j.common.ToExceptionCapable;
import org.fuin.objects4j.vo.ValueObject;
import static org.fuin.ddd4j.ddd.Ddd4JUtils.SHORT_ID_PREFIX;
import java.io.Serializable;
import jakarta.json.bind.annotation.JsonbProperty;
import jakarta.validation.constraints.NotNull;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import org.fuin.objects4j.common.ExceptionShortIdentifable;
import org.fuin.objects4j.common.MarshalInformation;

/**
 * Copyright (C) 2015 Michael Schnell. All rights reserved. 
 * http://www.fuin.org/
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 3 of the License, or (at your option) any
 * later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this library. If not, see http://www.gnu.org/licenses/.
 */
package org.fuin.ddd4j.ddd;





/**
 * Signals that an entity was not found.
 */
public final class EntityNotFoundException extends Exception
        implements ExceptionShortIdentifable, MarshalInformation<EntityNotFoundException.Data> {

    private static final long serialVersionUID = 1L;

    /** Unique short identifier of this exception. */

// Path: src/main/java/org/fuin/ddd4j/ddd/Ddd4JUtils.java
// public static final String SHORT_ID_PREFIX = "DDD4J";


// Path: src/main/java/org/fuin/ddd4j/ddd/EntityNotFoundException.java
import org.fuin.objects4j.common.Nullable;
import org.fuin.objects4j.common.ToExceptionCapable;
import org.fuin.objects4j.vo.ValueObject;
import static org.fuin.ddd4j.ddd.Ddd4JUtils.SHORT_ID_PREFIX;
import java.io.Serializable;
import jakarta.json.bind.annotation.JsonbProperty;
import jakarta.validation.constraints.NotNull;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import org.fuin.objects4j.common.ExceptionShortIdentifable;
import org.fuin.objects4j.common.MarshalInformation;

/**
 * Copyright (C) 2015 Michael Schnell. All rights reserved. 
 * http://www.fuin.org/
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 3 of the License, or (at your option) any
 * later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this library. If not, see http://www.gnu.org/licenses/.
 */
package org.fuin.ddd4j.ddd;





/**
 * Signals that an entity was not found.
 */
public final class EntityNotFoundException extends Exception
        implements ExceptionShortIdentifable, MarshalInformation<EntityNotFoundException.Data> {

    private static final long serialVersionUID = 1L;

    /** Unique short identifier of this exception. */

    public static final String SHORT_ID = SHORT_ID_PREFIX + "-ENTITY_NOT_FOUND";
