mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 14:21:47 +00:00
415e303ac2
* rewritten how it works a bit: Now compatible with parent exceptions that don't have the Throwable variants. * rewritten how it works a bit: You can now provide the full constructor only; the rest will forward to it. * fixing up style. * rewrite the docs.
10 lines
262 B
Java
10 lines
262 B
Java
import lombok.AccessLevel;
|
|
import lombok.experimental.StandardException;
|
|
|
|
@StandardException class EmptyException extends Exception {
|
|
}
|
|
@StandardException(access = AccessLevel.PROTECTED) class NoArgsException extends Exception {
|
|
public NoArgsException() {
|
|
}
|
|
}
|