public static class Result.DiagMessage extends Object
DiagMessage
encapsulates the message key which would identify the relevant
standard error message according to the user locale.
The optional arguments are possible custom strings for the error message.
Modifier | Constructor and Description |
---|---|
protected |
DiagMessage(@CompilerMessageKey String message,
Object[] args) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(@Nullable Object obj) |
Object[] |
getArgs() |
@CompilerMessageKey String |
getMessageKey() |
int |
hashCode() |
String |
toString() |
protected DiagMessage(@CompilerMessageKey String message, Object[] args)
public @CompilerMessageKey String getMessageKey()
public Object[] getArgs()
@SideEffectFree public String toString()