Changeset d196047 for router


Ignore:
Timestamp:
Jan 26, 2017 9:45:47 PM (4 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
b970912
Parents:
eefb36c
Message:

javadoc fixes part 6 (ticket #1894)

Location:
router/java/src/net/i2p
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/data/i2np/I2NPMessage.java

    reefb36c rd196047  
    6363     * @return size of the message read (including headers)
    6464     * @throws I2NPMessageException if there is no valid message
    65      * @throws IOException if there is a problem reading from the stream
    6665     */
    6766    public int readBytes(byte data[], int type, int offset) throws I2NPMessageException;
     
    8079     * @return size of the message read (including headers)
    8180     * @throws I2NPMessageException if there is no valid message
    82      * @throws IOException if there is a problem reading from the stream
    8381     * @since 0.8.12
    8482     */
     
    9694     * @throws I2NPMessageException if the stream doesn't contain a valid message
    9795     *          that this class can read.
    98      * @throws IOException if there is a problem reading from the stream
    9996     */
    10097    public void readMessage(byte data[], int offset, int dataSize, int type) throws I2NPMessageException;
  • router/java/src/net/i2p/router/InNetMessagePool.java

    reefb36c rd196047  
    9393    /**
    9494     * @return previous builder for this message type, or null
    95      * @throws AIOOBE if i2npMessageType is greater than MAX_I2NP_MESSAGE_TYPE
     95     * @throws ArrayIndexOutOfBoundsException if i2npMessageType is greater than MAX_I2NP_MESSAGE_TYPE
    9696     */
    9797    public synchronized HandlerJobBuilder registerHandlerJobBuilder(int i2npMessageType, HandlerJobBuilder builder) {
     
    103103    /**
    104104     * @return previous builder for this message type, or null
    105      * @throws AIOOBE if i2npMessageType is greater than MAX_I2NP_MESSAGE_TYPE
     105     * @throws ArrayIndexOutOfBoundsException if i2npMessageType is greater than MAX_I2NP_MESSAGE_TYPE
    106106     * @deprecated unused
    107107     */
  • router/java/src/net/i2p/router/message/CloveSet.java

    reefb36c rd196047  
    3535    public int getCloveCount() { return _cloves.length; }
    3636
    37     /** @throws AIOOBE */
     37    /** @throws ArrayIndexOutOfBoundsException */
    3838    public GarlicClove getClove(int index) { return _cloves[index]; }
    3939   
  • router/java/src/net/i2p/router/startup/LoadClientAppsJob.java

    reefb36c rd196047  
    184184     *  @param clientName can be null
    185185     *  @param args can be null
    186      *  @throws just about anything, caller would be wise to catch Throwable
     186     *  @throws Exception just about anything, caller would be wise to catch Throwable
    187187     *  @since 0.7.13
    188188     */
  • router/java/src/net/i2p/router/transport/udp/OutboundMessageState.java

    reefb36c rd196047  
    4848     *
    4949     *  Called from UDPTransport.
    50      *  @throws IAE if too big or if msg or peer is null
     50     *  @throws IllegalArgumentException if too big or if msg or peer is null
    5151     */
    5252    public OutboundMessageState(I2PAppContext context, I2NPMessage msg, PeerState peer) {
     
    5858     *
    5959     *  Called from OutboundMessageFragments.
    60      *  @throws IAE if too big or if msg or peer is null
     60     *  @throws IllegalArgumentException if too big or if msg or peer is null
    6161     */
    6262    public OutboundMessageState(I2PAppContext context, OutNetMessage m, PeerState peer) {
     
    6767     *  Internal.
    6868     *  @param m null if msg is "injected"
    69      *  @throws IAE if too big or if msg or peer is null
     69     *  @throws IllegalArgumentException if too big or if msg or peer is null
    7070     */
    7171    private OutboundMessageState(I2PAppContext context, OutNetMessage m, I2NPMessage msg, PeerState peer) {
Note: See TracChangeset for help on using the changeset viewer.