Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rice.tutorial.transportlayer
Class NotEnoughBandwidthException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.io.IOException
                  rice.tutorial.transportlayer.NotEnoughBandwidthException

All Implemented Interfaces:
  java.io.Serializable

    public class NotEnoughBandwidthException

extends java.io.IOException

See Also:
  Serialized Form

Constructor Summary
`NotEnoughBandwidthException(long bucketSize, int attemptedToWrite)`

Method Summary
`long` | `getAmountAllowedToWrite()`
`int` | `getAttemptedToWrite()`

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

### NotEnoughBandwidthException

    public NotEnoughBandwidthException(long bucketSize,
                                       int attemptedToWrite)

Method Detail

### getAmountAllowedToWrite

    public long getAmountAllowedToWrite()

  Returns:
    The amount allowed to write (right now).

### getAttemptedToWrite

    public int getAttemptedToWrite()

  Returns:
    The amount we attempted to write.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.