28 lines
661 B
Java
28 lines
661 B
Java
package de.rwu.easydrop.exception;
|
|
|
|
/**
|
|
* Exception that signifies a communication problem with a writer API.
|
|
*
|
|
* @since 0.3.0
|
|
*/
|
|
public class DataWriterException extends RuntimeException {
|
|
/**
|
|
* Throws an exception that signifies the data of a Product are invalid.
|
|
*
|
|
* @param message
|
|
*/
|
|
public DataWriterException(final String message) {
|
|
super(message);
|
|
}
|
|
|
|
/**
|
|
* Throws an exception that signifies the data of a Product are invalid.
|
|
*
|
|
* @param message
|
|
* @param cause
|
|
*/
|
|
public DataWriterException(final String message, final Throwable cause) {
|
|
super(message, cause);
|
|
}
|
|
}
|