com.onionnetworks.fec.io
Class BlockAlreadyDecodedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.onionnetworks.fec.io.BlockAlreadyDecodedException
- All Implemented Interfaces:
- java.io.Serializable
public class BlockAlreadyDecodedException
- extends java.io.IOException
This exception signals that there was an attempt to write a packet to a
block that has already been decoded.
(c) Copyright 2001 Onion Networks
(c) Copyright 2000 OpenCola
- Author:
- Justin F. Chapweske (justin@chapweske.com)
- See Also:
- Serialized Form
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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BlockAlreadyDecodedException
public BlockAlreadyDecodedException(int blockNum,
int stripeNum)
- Constructs a new Exception
- Parameters:
blockNum
- The blockNum of the attempted packetstripeNum
- The stripeNum of the attempted packet
BlockAlreadyDecodedException
public BlockAlreadyDecodedException(java.lang.String msg,
int blockNum,
int stripeNum)
- Constructs a new Exception
- Parameters:
blockNum
- The blockNum of the attempted packetstripeNum
- The stripeNum of the attempted packetmsg
- An informational message to include
getBlockNum
public int getBlockNum()
- Returns:
- The blockNum of the attempted packet.
getStripeNum
public int getStripeNum()
- Returns:
- the stripeNum of the attempted packet.
Copyright © 2002 Onion Networks. All Rights Reserved.