Changeset 7a450c5


Ignore:
Timestamp:
Sep 15, 2014 6:23:58 PM (6 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
3781b8db
Parents:
c1e8ea0
Message:

exception tweak

Location:
core/java/src/net/i2p/data/i2cp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/data/i2cp/MessagePayloadMessage.java

    rc1e8ea0 r7a450c5  
    7171    }
    7272
     73    /**
     74     *  @throws UnsupportedOperationException always
     75     */
    7376    @Override
    7477    protected byte[] doWriteMessage() throws I2CPMessageException, IOException {
    75         throw new RuntimeException("go away, we dont want any");
     78        throw new UnsupportedOperationException();
    7679    }
    7780   
  • core/java/src/net/i2p/data/i2cp/SendMessageMessage.java

    rc1e8ea0 r7a450c5  
    102102    }
    103103
     104    /**
     105     *  @throws UnsupportedOperationException always
     106     */
    104107    @Override
    105108    protected byte[] doWriteMessage() throws I2CPMessageException, IOException {
    106         throw new RuntimeException("wtf, dont run me");
     109        throw new UnsupportedOperationException();
    107110    }
    108111
Note: See TracChangeset for help on using the changeset viewer.