net.sf.borg.common
Class Warning
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.sf.borg.common.Warning
- All Implemented Interfaces:
- Serializable
public class Warning
- extends Exception
Warning is something to throw when there is a non fatal condition and the best way to handle it
is to use the throw mechanism. Catchers of this class should treat the message
as warning or informational text and should not show the stack trace to the user
- See Also:
- Serialized Form
Constructor Summary |
Warning(String msg)
Creates a new instance of Warning. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Warning
public Warning(String msg)
- Creates a new instance of Warning.
- Parameters:
msg
- the msg
Generated September 24 2010 by mbb using Apache Ant version 1.7.1 compiled on June 27 2008 and Java version 1.6.0_20 from Sun Microsystems Inc. on Linux i386 2.6.24-28-generic