com.google.inject
Class ErrorMessage

java.lang.Object
  extended by com.google.inject.ErrorMessage

public class ErrorMessage
extends java.lang.Object

A configuration error.

Author:
crazybob@google.com (Bob Lee)

Constructor Summary
ErrorMessage(java.lang.Object source, java.lang.String message)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getMessage()
          Gets the error message text.
 java.lang.Object getSource()
          Gets the source of the configuration which resulted in this error message.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ErrorMessage

public ErrorMessage(java.lang.Object source,
                    java.lang.String message)
Method Detail

getSource

public java.lang.Object getSource()
Gets the source of the configuration which resulted in this error message.


getMessage

public java.lang.String getMessage()
Gets the error message text.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object