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

dk.nversion.copybook.exceptions.CopyBookException Maven / Gradle / Ivy

Go to download

CopyBook serializer and deserializer for Java where CopyBook lines are used to annotate a normal Java class

The newest version!
/*
 * Copyright (c) 2015. Troels Liebe Bentsen 
 * Licensed under the MIT license (LICENSE.txt)
 */

package dk.nversion.copybook.exceptions;

public class CopyBookException extends RuntimeException {
    private static final long serialVersionUID = 28118369047109260L;
    public CopyBookException(String message) {
        super(message);
    }

    public CopyBookException(String message, TypeConverterException ex) {
        super(message + ": " + ex.getClass().getSimpleName() + " :" + ex.getMessage());
    }

    public CopyBookException(String message, Exception ex) {
        super(message + ": " + ex.getClass().getSimpleName() + " :" + ex.getMessage());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy