de.huxhorn.lilith.data.logging
Class MessageFormatter.ArgumentResult
java.lang.Object
de.huxhorn.lilith.data.logging.MessageFormatter.ArgumentResult
- Enclosing class:
- MessageFormatter
public static class MessageFormatter.ArgumentResult
- extends java.lang.Object
This is just a simple class containing the result of an evaluateArgument call. It's necessary because we need to
return two results, i.e. the resulting String[] and the optional Throwable.
This class is not Serializable because serializing a Throwable is generally a bad idea if the data is supposed
to leave the current VM since it may result in ClassNotFoundExceptions if the given Throwable is not
available/different in the deserializing VM.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
MessageFormatter.ArgumentResult
public MessageFormatter.ArgumentResult(java.lang.String[] arguments,
java.lang.Throwable throwable)
getThrowable
public java.lang.Throwable getThrowable()
getArguments
public java.lang.String[] getArguments()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object