net.windward.util
Class AssertException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--net.windward.util.AssertException
- All Implemented Interfaces:
- java.io.Serializable
- public class AssertException
- extends java.lang.RuntimeException
This replaces the assert call until we can require jdk 1.4. It extends throwable
so that it does not have to be declared in the throws... for a method.
- Version:
- 1.0 March 31, 2002
- See Also:
- Serialized Form
|
Method Summary |
static void |
_assert(boolean shouldBeTrue)
Called to assert a boolean value. |
java.lang.String |
get_Message()
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AssertException
public AssertException()
_assert
public static void _assert(boolean shouldBeTrue)
- Called to assert a boolean value. Does nothing if DebugMode.debugMode is false.
- Parameters:
shouldBeTrue - Will throw an AssertException if this paramter is not true.
otherwise will just return.
get_Message
public java.lang.String get_Message()
Copyright © 2002 - 2008 Windward Reports - All Rights Reserved. java reporting software