jpaoletti.jpm.converter.ConverterException Maven / Gradle / Ivy
The newest version!
package jpaoletti.jpm.converter;
import jpaoletti.jpm.core.PMException;
import jpaoletti.jpm.core.message.Message;
import jpaoletti.jpm.core.message.MessageFactory;
/**
* An exception thrown if a conversion fail
*
* @author jpaoletti
*/
public class ConverterException extends PMException {
private static final long serialVersionUID = 6940226004619692335L;
public ConverterException(Message msg) {
super(msg);
}
/**
*
* @param string
*/
public ConverterException(String string) {
super(MessageFactory.error(string));
}
/**
*
* @param e
*/
public ConverterException(Exception e) {
super(e);
}
/**
*
*/
public ConverterException() {
super();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy