|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.inject.spi.Message
public class Message
A message. Contains a source pointing to the code which resulted in this message and a text message.
Constructor Summary | |
---|---|
Message(Object source,
String message)
|
|
Message(String message)
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
String |
getMessage()
Gets the error message text. |
Object |
getSource()
Gets the source of the configuration which resulted in this error message. |
String |
getSourceString()
Returns a string representation of the source object. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Message(Object source, String message)
public Message(String message)
Method Detail |
---|
public Object getSource()
public String getSourceString()
public String getMessage()
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |