Annotation Type UnsupportedOperation
-
@Documented @Target({METHOD,CONSTRUCTOR}) @Retention(RUNTIME) public @interface UnsupportedOperation
This is similar to the @NotYetImplemented annotation. The difference is only the semantic: "@UnsupportedOperation" means, it is not supported yet and the annotated method will probably also not supported in the future. "@NotYetImplemented" means, that the method is not yet implemented but will be available in the (near) future.In PatternTesting Samples (patterntesting.sample.Fraction) you'll find an example you to use it.
- Since:
- 19.10.2008
- Version:
- $Revision: 1.5 $
- Author:
- oliver
- See Also:
NotYetImplemented
,MessageFormat
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
value
You can define the text here which is used for the thrown UnsupportedOperationException.
-
-
-
Element Detail
-
value
java.lang.String value
You can define the text here which is used for the thrown UnsupportedOperationException. You can add "{0}" if you want to see the method name in the exception e.g.@NotYetImplemented("don''t call {0} today")
.- Returns:
- the string
- Default:
- "{0} is not supported"
-
-