org.jsmiparser.util.problem.annotations
Annotation Type ProblemMethod


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface ProblemMethod


Required Element Summary
 java.lang.String message
          todo There is still one design flaw here: the message might contain type directives (such as {1,time}) which are incompatible with the type of parameters (or parameter property) of the method).
 
Optional Element Summary
 java.lang.String ref
           
 ProblemSeverity severity
           
 

Element Detail

message

public abstract java.lang.String message
todo There is still one design flaw here: the message might contain type directives (such as {1,time}) which are incompatible with the type of parameters (or parameter property) of the method).

Returns:
The error message.

severity

public abstract ProblemSeverity severity
Default:
ERROR

ref

public abstract java.lang.String ref
Returns:
The reference (RFC, specification, ...) that defines why this is a problem.
Default:
""


Copyright © 2005-2007 null. All Rights Reserved.