nl.vpro.domain.media.exceptions.OrganizationNotFoundException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of media-domain Show documentation
Show all versions of media-domain Show documentation
The basic domain classes for 'media', the core of POMS. Also, the 'update' XML bindings for it.
It also contains some closely related domain classes like the enum to contain NICAM kijkwijzer settings.
/*
* Copyright (C) 2010 Licensed under the Apache License, Version 2.0
* VPRO The Netherlands
*/
package nl.vpro.domain.media.exceptions;
import java.io.Serial;
import nl.vpro.domain.user.Organization;
public class OrganizationNotFoundException extends RuntimeException {
@Serial
private static final long serialVersionUID = -923897830621230741L;
public OrganizationNotFoundException() {
super("Organization not found");
}
public OrganizationNotFoundException(Organization organization) {
super("Organization not found: " + organization);
}
public OrganizationNotFoundException(String message, Throwable cause) {
super(message, cause);
}
public OrganizationNotFoundException(Throwable cause) {
super(cause);
}
public OrganizationNotFoundException(String message) {
super(message);
}
}