All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.javastro.ivoa.entities.regtap.exceptions.IllegalOrphanException Maven / Gradle / Ivy

package org.javastro.ivoa.entities.regtap.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 - 2024 Weber Informatics LLC | Privacy Policy