I am trying to annotate a Method with this and the compiler is flagging this as an error
@ApplicationException is disallowed for this location
, Please where is ApplicationException Supposed to be used
Just google it look at the documentation and read:
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface ApplicationException
The @Target is TYPE. So, now where do you think ApplicationException is supposed to be used? ;-)