
org.javastro.ivoa.jpa.exceptions.IllegalOrphanException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jaxbjpa-utils Show documentation
Show all versions of jaxbjpa-utils Show documentation
generic utilities to make using JAXB and JPA easier
The newest version!
package org.javastro.ivoa.jpa.exceptions;
import java.util.ArrayList;
import java.util.List;
public class IllegalOrphanException extends Exception {
private List messages;
public IllegalOrphanException(List messages) {
super((messages != null && messages.size() > 0 ? messages.get(0) : null));
if (messages == null) {
this.messages = new ArrayList();
}
else {
this.messages = messages;
}
}
public List getMessages() {
return messages;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy