EDU.bmrb.starlibj
Class InternalException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--EDU.bmrb.starlibj.InternalException
- All Implemented Interfaces:
- java.io.Serializable
- public class InternalException
- extends java.lang.RuntimeException
This is thrown when there is some internal problem with
the starlibj that was not expected. Whenever this exception
appears it indicates an error on the part of the starlibj
programmer. A bug needs to be reported. The starlibj
programmer(s) put this exception in as a keep-us-honest check.
(If we think a condition is a "can't-happen-ever" condition,
we throw this exception from that point just to be sure. If
we are right in our assumptions, a user will never see this
message.)
- See Also:
- Serialized Form
Constructor Summary |
InternalException()
|
InternalException(java.lang.String msg)
Allow the thrower to make additional information about the
exception appear in the message: |
Method Summary |
java.lang.String |
getMessage()
The message that will be printed at runtime if this exception
'bubbles up' all the way to the Java Runtime Environment and
is not caught along the way. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InternalException
public InternalException()
InternalException
public InternalException(java.lang.String msg)
- Allow the thrower to make additional information about the
exception appear in the message:
getMessage
public java.lang.String getMessage()
- The message that will be printed at runtime if this exception
'bubbles up' all the way to the Java Runtime Environment and
is not caught along the way.
- Overrides:
getMessage
in class java.lang.Throwable
- Returns:
- the message to be printed by the JVM.