patterntesting.runtime.annotation
Annotation Type UnsupportedOperation


@Documented
@Target(value={METHOD,CONSTRUCTOR})
@Retention(value=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.

Since:
19.10.2008
Version:
$Revision: 1.2 $
Author:
oliver
See Also:
NotYetImplemented, MessageFormat

Optional Element Summary
 String value
          You can define the text here which is used for the thrown UnsupportedOperationException.
 

value

public abstract 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").

Default:
"{0} is not supported"


Copyright © 2002–2014 PatternTesting Team. All rights reserved.