|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Throws
The Throws
annotation specifies the classes that will be thrown when one ore more arguments are not
valid.
This is useful to show the runtime exceptions which can possibly be thrown by a method.
Required Element Summary | |
---|---|
Class<? extends Throwable>[] |
value
|
Element Detail |
---|
public abstract Class<? extends Throwable>[] value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |