mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 22:15:11 +00:00
@StandardException feature working draft
* annotation with javac and Eclipse handlers * single test file
This commit is contained in:
1 parent
30a2921e63
commit
63ea3db6b7
7 files changed
+554
-1
No files matched your search
@@ -0,0 +1,39 @@
|
||||
class EmptyException extends Exception {
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public EmptyException() {
|
||||
}
|
||||
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public EmptyException(final String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public EmptyException(final Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public EmptyException(final String message, final Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
}
|
||||
class NoArgsException extends Exception {
|
||||
public NoArgsException() {
|
||||
}
|
||||
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public NoArgsException(final String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public NoArgsException(final Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public NoArgsException(final String message, final Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user