Changeset e461e8f
- Timestamp:
- Jan 26, 2017 8:51:05 PM (4 years ago)
- Branches:
- master
- Children:
- dc5bfb2
- Parents:
- 8bb114e
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
apps/i2psnark/java/src/org/klomp/snark/BitField.java
r8bb114e re461e8f 49 49 * Extra bytes will be ignored. 50 50 * 51 * @ exceptionArrayOutOfBoundsException if give byte array is not large51 * @throws ArrayOutOfBoundsException if give byte array is not large 52 52 * enough. 53 53 */ … … 91 91 * Sets the given bit to true. 92 92 * 93 * @ exceptionIndexOutOfBoundsException if bit is smaller then zero93 * @throws IndexOutOfBoundsException if bit is smaller then zero 94 94 * bigger then size (inclusive). 95 95 */ … … 111 111 * Sets the given bit to false. 112 112 * 113 * @ exceptionIndexOutOfBoundsException if bit is smaller then zero113 * @throws IndexOutOfBoundsException if bit is smaller then zero 114 114 * bigger then size (inclusive). 115 115 * @since 0.9.22 … … 142 142 * Return true if the bit is set or false if it is not. 143 143 * 144 * @ exceptionIndexOutOfBoundsException if bit is smaller then zero144 * @throws IndexOutOfBoundsException if bit is smaller then zero 145 145 * bigger then size (inclusive). 146 146 */ -
apps/i2psnark/java/src/org/klomp/snark/MetaInfo.java
r8bb114e re461e8f 465 465 * except for the last one (<code>getPieces()-1</code>). 466 466 * 467 * @ exceptionIndexOutOfBoundsException when piece is equal to or467 * @throws IndexOutOfBoundsException when piece is equal to or 468 468 * greater then the number of pieces in the torrent. 469 469 */ -
apps/i2psnark/java/src/org/klomp/snark/Peer.java
r8bb114e re461e8f 116 116 * 117 117 * @param metainfo null if in magnet mode 118 * @ exceptionIOException when an error occurred during the handshake.118 * @throws IOException when an error occurred during the handshake. 119 119 */ 120 120 public Peer(final I2PSocket sock, InputStream in, OutputStream out, byte[] my_id, byte[] infohash, MetaInfo metainfo) -
apps/i2psnark/java/src/org/klomp/snark/Storage.java
r8bb114e re461e8f 1112 1112 * @return true if the piece was correct (sha metainfo hash 1113 1113 * matches), otherwise false. 1114 * @ exceptionIOException when some storage related error occurs.1114 * @throws IOException when some storage related error occurs. 1115 1115 */ 1116 1116 public boolean putPiece(PartialPiece pp) throws IOException -
apps/i2psnark/java/src/org/klomp/snark/bencode/BDecoder.java
r8bb114e re461e8f 103 103 * has ended. 104 104 * 105 * @ exceptionInvalidBEncoding when the stream doesn't start with a105 * @throws InvalidBEncoding when the stream doesn't start with a 106 106 * bencoded value or the stream isn't a bencoded stream at all. 107 * @ exceptionIOException when somthing bad happens with the stream107 * @throws IOException when somthing bad happens with the stream 108 108 * to read from. 109 109 */ -
apps/jetty/java/src/org/mortbay/servlet/MultiPartRequest.java
r8bb114e re461e8f 72 72 * @param request The request containing a multipart/form-data 73 73 * request 74 * @ exceptionIOException IOException74 * @throws IOException IOException 75 75 */ 76 76 public MultiPartRequest(HttpServletRequest request) -
apps/jetty/java/src/org/mortbay/util/LineInput.java
r8bb114e re461e8f 114 114 * @param bufferSize The buffer size and maximum line length. 115 115 * @param encoding the character encoding to use for readLine methods. 116 * @ exceptionUnsupportedEncodingException116 * @throws UnsupportedEncodingException 117 117 */ 118 118 public LineInput(InputStream in, int bufferSize, String encoding) … … 181 181 * characters. 182 182 * @return The line as a String or null for EOF. 183 * @ exceptionIOException183 * @throws IOException 184 184 */ 185 185 public synchronized String readLine() … … 218 218 * @param len Maximum length of line. 219 219 * @return The length of the line or -1 for EOF. 220 * @ exceptionIOException220 * @throws IOException 221 221 */ 222 222 public int readLine(char[] c,int off,int len) … … 252 252 * @param len Maximum length of line. 253 253 * @return The length of the line or -1 for EOF. 254 * @ exceptionIOException254 * @throws IOException 255 255 */ 256 256 public int readLine(byte[] b,int off,int len) … … 278 278 * characters. 279 279 * @return LineBuffer instance or null for EOF. 280 * @ exceptionIOException280 * @throws IOException 281 281 */ 282 282 public LineBuffer readLineBuffer() … … 294 294 * @param len Maximum length of a line, or 0 for default 295 295 * @return LineBuffer instance or null for EOF. 296 * @ exceptionIOException296 * @throws IOException 297 297 */ 298 298 public LineBuffer readLineBuffer(int len) -
core/java/src/gnu/getopt/LongOpt.java
r8bb114e re461e8f 118 118 * @param val The value to return for this long option, or the equivalent single letter option to emulate if flag is null. 119 119 * 120 * @ exceptionIllegalArgumentException If the has_arg param is not one of NO_ARGUMENT, REQUIRED_ARGUMENT or OPTIONAL_ARGUMENT.120 * @throws IllegalArgumentException If the has_arg param is not one of NO_ARGUMENT, REQUIRED_ARGUMENT or OPTIONAL_ARGUMENT. 121 121 */ 122 122 public -
core/java/src/net/i2p/crypto/CryptixRijndael_Algorithm.java
r8bb114e re461e8f 372 372 * 373 373 * @param k The 128/192/256-bit user-key to use. 374 * @ exceptionInvalidKeyException If the key is invalid.374 * @throws InvalidKeyException If the key is invalid. 375 375 */ 376 376 public static final Object makeKey(byte[] k) throws InvalidKeyException { … … 551 551 * @param k The 128/192/256-bit user-key to use. 552 552 * @param blockSize The block size in bytes of this Rijndael. 553 * @ exceptionInvalidKeyException If the key is invalid.553 * @throws InvalidKeyException If the key is invalid. 554 554 */ 555 555 public static final/* synchronized */Object makeKey(byte[] k, int blockSize) throws InvalidKeyException { -
core/java/src/org/bouncycastle/oldcrypto/Mac.java
r8bb114e re461e8f 39 39 * 40 40 * @param key the key required by the MAC. 41 * @ exceptionIllegalArgumentException if the params argument is41 * @throws IllegalArgumentException if the params argument is 42 42 * inappropriate. 43 43 */ … … 63 63 * 64 64 * @param in the byte to be processed. 65 * @ exceptionIllegalStateException if the MAC is not initialised.65 * @throws IllegalStateException if the MAC is not initialised. 66 66 */ 67 67 public void update(byte in) … … 72 72 * @param inOff the index in the array the data begins at. 73 73 * @param len the length of the input starting at inOff. 74 * @ exceptionIllegalStateException if the MAC is not initialised.74 * @throws IllegalStateException if the MAC is not initialised. 75 75 */ 76 76 public void update(byte[] in, int inOff, int len) … … 85 85 * @param out the array the MAC is to be output to. 86 86 * @param outOff the offset into the out buffer the output is to start at. 87 * @ exceptionIllegalStateException if the MAC is not initialised.87 * @throws IllegalStateException if the MAC is not initialised. 88 88 */ 89 89 public int doFinal(byte[] out, int outOff)
Note: See TracChangeset
for help on using the changeset viewer.