com.metamatrix.common.buffer
Class BlockedException

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
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BlockedOnMemoryException

public class BlockedException
extends MetaMatrixComponentException

This exception is thrown if the buffer manager blocks waiting on input during processing. This is an indication that more data will be available, but is not currently available.

See Also:
Serialized Form

Field Summary
static BlockedException INSTANCE
           
 
Constructor Summary
BlockedException()
          No-arg costructor required by Externalizable semantics
BlockedException(java.lang.String message)
          Construct an instance with the message specified.
BlockedException(java.lang.String code, java.lang.String message)
          Construct an instance with the message and error code specified.
BlockedException(java.lang.Throwable e, java.lang.String message)
          Construct an instance from a message and an exception to chain to this one.
BlockedException(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, getCode, getFullMessage, getMessage, readExternal, setCode, toString, writeExternal
 
Methods inherited from class com.metamatrix.core.MetaMatrixCoreException
getCause, initCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, 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 BlockedException INSTANCE
Constructor Detail

BlockedException

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


BlockedException

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

Parameters:
message - A message describing the exception

BlockedException

public BlockedException(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

BlockedException

public BlockedException(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

BlockedException

public BlockedException(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.