Class TooMuchDataException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.mbari.siam.distributed.TooMuchDataException
All Implemented Interfaces:

public class TooMuchDataException
extends java.lang.Exception

Thrown when "too much" data has been requested. ("Too much" is determined by data source.)

Tom O'Reilly
See Also:
Serialized Form

Constructor Summary
TooMuchDataException(long nPacketsRequested, long maxPacketsAllowed, java.lang.String message)
Method Summary
 long getMaxPacketsAllowed()
          Return maximum number of packets allowed.
 long getNPacketsRequested()
          Return number of packets requested.
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

Constructor Detail


public TooMuchDataException(long nPacketsRequested,
                            long maxPacketsAllowed,
                            java.lang.String message)
Method Detail


public long getNPacketsRequested()
Return number of packets requested.


public long getMaxPacketsAllowed()
Return maximum number of packets allowed.

Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.