mirror of https://github.com/longtai-cn/hippo4j
parent
209856a174
commit
1cc35a13f5
@ -0,0 +1,20 @@
|
||||
package cn.hippo4j.common.executor.support;
|
||||
|
||||
import cn.hippo4j.common.web.exception.AbstractException;
|
||||
|
||||
/**
|
||||
* This exception is thrown when a context implementation does not support the operation being invoked.
|
||||
*/
|
||||
public class NotSupportedException extends AbstractException {
|
||||
|
||||
/**
|
||||
* Constructs a new not supported exception with the specified detail message and
|
||||
* cause.
|
||||
*
|
||||
* @param message the detail message (which is saved for later retrieval
|
||||
* by the {@link #getMessage()} method).
|
||||
*/
|
||||
public NotSupportedException(String message) {
|
||||
super(message, null, null);
|
||||
}
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
package cn.hippo4j.common.web.exception;
|
||||
|
||||
/**
|
||||
* This exception is thrown when a context implementation does not support the operation being invoked.
|
||||
*/
|
||||
public class NotSupportedException extends AbstractException {
|
||||
|
||||
public NotSupportedException(String message, ErrorCode errorCode) {
|
||||
super(message, null, errorCode);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in new issue