com.springsource.bundlor.blint
Class Warning
java.lang.Object
com.springsource.bundlor.blint.Warning
public class Warning
- extends java.lang.Object
Describes a warning generated whilst running Bundlor.
Concurrent Semantics
Threadsafe
- Author:
- Andy Wilkinson, Ben Hale
Field Summary |
private java.lang.String |
message
|
Constructor Summary |
Warning(java.lang.String format,
java.lang.Object... inserts)
|
Method Summary |
java.lang.String |
getMessage()
Returns the text that describes the warning and its cause |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
message
private final java.lang.String message
Warning
public Warning(java.lang.String format,
java.lang.Object... inserts)
- Parameters:
definition
- The message format for this warninginserts
- The inserts used to customize the warning message
getMessage
public java.lang.String getMessage()
- Returns the text that describes the warning and its cause
- Returns:
- the warning's description
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object