• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bernardladenthin / BitcoinAddressFinder / #353

21 Jul 2025 10:01PM UTC coverage: 71.342% (+1.2%) from 70.173%
#353

push

bernardladenthin
Implement ZeroMQ instead raw socket. Add and fix some tests.

43 of 47 new or added lines in 4 files covered. (91.49%)

4 existing lines in 2 files now uncovered.

1536 of 2153 relevant lines covered (71.34%)

0.71 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.0
/src/main/java/net/ladenthin/bitcoinaddressfinder/NoMoreSecretsAvailableException.java
1
// @formatter:off
2
/**
3
 * Copyright 2024 Bernard Ladenthin bernard.ladenthin@gmail.com
4
 *
5
 * Licensed under the Apache License, Version 2.0 (the "License");
6
 * you may not use this file except in compliance with the License.
7
 * You may obtain a copy of the License at
8
 *
9
 *    http://www.apache.org/licenses/LICENSE-2.0
10
 *
11
 * Unless required by applicable law or agreed to in writing, software
12
 * distributed under the License is distributed on an "AS IS" BASIS,
13
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
 * See the License for the specific language governing permissions and
15
 * limitations under the License.
16
 *
17
 */
18
// @formatter:on
19
package net.ladenthin.bitcoinaddressfinder;
20

21
/**
22
 * Exception thrown when no more secrets are available.
23
 * 
24
 * This class extends RuntimeException because it is used with methods such as
25
 * {@link java.util.Random#nextBytes(byte[])} and {@link java.math.BigInteger#BigInteger(int, Random)},
26
 * which require a {@code Random} instance that only throws unchecked exceptions.
27
 */
28
public class NoMoreSecretsAvailableException extends RuntimeException {
29
    
30
    public NoMoreSecretsAvailableException() {
31
        super();
1✔
32
    }
1✔
33

34
    public NoMoreSecretsAvailableException(String message) {
35
        super(message);
1✔
36
    }
1✔
37

38
    public NoMoreSecretsAvailableException(String message, Throwable cause) {
39
        super(message, cause);
1✔
40
    }
1✔
41

42
    public NoMoreSecretsAvailableException(Throwable cause) {
UNCOV
43
        super(cause);
×
UNCOV
44
    }
×
45
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc