org.peace_tools.data
Class LowMemoryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.peace_tools.data.LowMemoryException
All Implemented Interfaces:
java.io.Serializable

public class LowMemoryException
extends java.lang.Exception

A simple exception to report a low memory condition. This exception class provides a more pertinent exception to report the condition where the JVM is low on memory and the user has chosen not to proceed further with a file open operation.

See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          A generated serialization UID to keep compiler happy.
 
Constructor Summary
LowMemoryException()
          The default constructor.
LowMemoryException(java.lang.String message)
          Constructor to create an exception with the given message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
A generated serialization UID to keep compiler happy.

See Also:
Constant Field Values
Constructor Detail

LowMemoryException

public LowMemoryException()
The default constructor. The default constructor to create an exception without any message. Constructs a new exception with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(Throwable).


LowMemoryException

public LowMemoryException(java.lang.String message)
Constructor to create an exception with the given message. A convenience constructor to create an exception with a specific message.

Parameters:
message - The message to be set for this exception.