OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Blame | Last modification | View Log | RSS feed

package org.openconcerto.modules.label.gs1;

public class GS1ParseException extends Exception {
    final String ai;
    final int errorCode;
    final String errorMessage;

    public GS1ParseException(final String ai, final int errorCode, final String errorMessage) {
        this.ai = ai;
        this.errorCode = errorCode;
        this.errorMessage = errorMessage;
    }

    @Override
    public String toString() {
        return "AI: " + ai + ", errorCode: " + errorCode + ", errorMessage: " + errorMessage;
    }
}