forked from I2P_Developers/i2p.i2p
javadoc fixes part 14 (ticket #1894)
This commit is contained in:
@ -48,7 +48,7 @@ public class BitField
|
||||
* as set by the given byte array. This will make a copy of the array.
|
||||
* Extra bytes will be ignored.
|
||||
*
|
||||
* @throws ArrayOutOfBoundsException if give byte array is not large
|
||||
* @throws IndexOutOfBoundsException if give byte array is not large
|
||||
* enough.
|
||||
*/
|
||||
public BitField(byte[] bitfield, int size)
|
||||
|
@ -161,7 +161,7 @@ class MagnetState {
|
||||
|
||||
/**
|
||||
* @return true if this was the last piece
|
||||
* @throws NPE, IllegalArgumentException, IOException, ...
|
||||
* @throws NullPointerException IllegalArgumentException, IOException, ...
|
||||
*/
|
||||
public boolean saveChunk(int chunk, byte[] data, int off, int length) throws Exception {
|
||||
if (!isInitialized)
|
||||
@ -185,7 +185,7 @@ class MagnetState {
|
||||
|
||||
/**
|
||||
* @return true if this was the last piece
|
||||
* @throws NPE, IllegalArgumentException, IOException, ...
|
||||
* @throws NullPointerException IllegalArgumentException, IOException, ...
|
||||
*/
|
||||
private MetaInfo buildMetaInfo() throws Exception {
|
||||
// top map has nothing in it but the info map (no announce)
|
||||
|
@ -102,7 +102,7 @@ public class BDecoder
|
||||
* @return The first BEValue on the stream or null when the stream
|
||||
* has ended.
|
||||
*
|
||||
* @throws InvalidBEncoding when the stream doesn't start with a
|
||||
* @throws InvalidBEncodingException when the stream doesn't start with a
|
||||
* bencoded value or the stream isn't a bencoded stream at all.
|
||||
* @throws IOException when somthing bad happens with the stream
|
||||
* to read from.
|
||||
|
@ -77,7 +77,7 @@ class NodeInfo extends SimpleDataStructure {
|
||||
* @param compactInfo 20 byte node ID, 32 byte destHash, 2 byte port
|
||||
* @param offset starting at this offset in compactInfo
|
||||
* @throws IllegalArgumentException
|
||||
* @throws AIOOBE
|
||||
* @throws ArrayIndexOutOfBoundsException
|
||||
*/
|
||||
public NodeInfo(byte[] compactInfo, int offset) {
|
||||
super();
|
||||
|
Reference in New Issue
Block a user