dk.nversion.copybook.exceptions.CopyBookException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of copybook4java Show documentation
Show all versions of copybook4java Show documentation
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());
}
}