com.metamatrix.common.buffer
Class BlockedOnMemoryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.metamatrix.core.MetaMatrixCoreException
              extended by com.metamatrix.api.exception.MetaMatrixException
                  extended by com.metamatrix.api.exception.MetaMatrixComponentException
                      extended by com.metamatrix.common.buffer.BlockedException
                          extended by com.metamatrix.common.buffer.BlockedOnMemoryException
All Implemented Interfaces:
java.io.Serializable

public class BlockedOnMemoryException
extends BlockedException

This exception is thrown by the plan if it receives a MemoryNotAvailableException while attempting to pin a batch in the BufferManager.

See Also:
Serialized Form

Field Summary
static BlockedOnMemoryException INSTANCE
           
 
Fields inherited from class com.metamatrix.core.MetaMatrixCoreException
code
 
Constructor Summary
BlockedOnMemoryException()
          No-arg costructor required by Externalizable semantics
BlockedOnMemoryException(java.lang.String message)
          Construct an instance with the message specified.
BlockedOnMemoryException(java.lang.String code, java.lang.String message)
          Construct an instance with the message and error code specified.
BlockedOnMemoryException(java.lang.Throwable e, java.lang.String message)
          Construct an instance from a message and an exception to chain to this one.
BlockedOnMemoryException(java.lang.Throwable e, java.lang.String code, java.lang.String message)
          Construct an instance from a message and a code and an exception to chain to this one.
 
Method Summary
 
Methods inherited from class com.metamatrix.api.exception.MetaMatrixException
getChild, getFullMessage, toString
 
Methods inherited from class com.metamatrix.core.MetaMatrixCoreException
getCode, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final BlockedOnMemoryException INSTANCE
Constructor Detail

BlockedOnMemoryException

public BlockedOnMemoryException()
No-arg costructor required by Externalizable semantics


BlockedOnMemoryException

public BlockedOnMemoryException(java.lang.String message)
Construct an instance with the message specified.

Parameters:
message - A message describing the exception

BlockedOnMemoryException

public BlockedOnMemoryException(java.lang.String code,
                                java.lang.String message)
Construct an instance with the message and error code specified.

Parameters:
message - A message describing the exception
code - The error code

BlockedOnMemoryException

public BlockedOnMemoryException(java.lang.Throwable e,
                                java.lang.String message)
Construct an instance from a message and an exception to chain to this one.

Parameters:
message - A message describing the exception
e - An exception to nest within this one

BlockedOnMemoryException

public BlockedOnMemoryException(java.lang.Throwable e,
                                java.lang.String code,
                                java.lang.String message)
Construct an instance from a message and a code and an exception to chain to this one.

Parameters:
e - An exception to nest within this one
message - A message describing the exception
code - A code denoting the exception


Copyright © 2009. All Rights Reserved.