throwIfNotExists method
void
throwIfNotExists()
Implementation
void throwIfNotExists() {
if (!exists) {
throw new ArtworkNotFoundException();
}
}
void throwIfNotExists() {
if (!exists) {
throw new ArtworkNotFoundException();
}
}