UnexpectedException.java
563 Bytes
package com.yoho.search.exception;
public class UnexpectedException extends RuntimeException {
private static final long serialVersionUID = 1L;
private String message;
public UnexpectedException() {}
public UnexpectedException(String message) {
super(message);
}
public UnexpectedException(Throwable cause) {
super(cause);
}
public UnexpectedException(String message, Throwable cause) {
super(message, cause);
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
}