public static class Result.DiagMessage
extends java.lang.Object
DiagMessage
encapsulate 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 java.lang.String message,
java.lang.Object[] args) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Object[] |
getArgs() |
@CompilerMessageKey java.lang.String |
getMessageKey() |
int |
hashCode() |
java.lang.String |
toString() |
protected DiagMessage(@CompilerMessageKey java.lang.String message, java.lang.Object[] args)
public @CompilerMessageKey java.lang.String getMessageKey()
public java.lang.Object[] getArgs()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
@Pure public int hashCode()
hashCode
in class java.lang.Object
@SideEffectFree public java.lang.String toString()
toString
in class java.lang.Object