Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | package io.mcarle.sciurus.cache; |
||
3 | class CacheException extends RuntimeException { |
||
4 | |||
5 | CacheException(Throwable cause) { |
||
6 | 1 | super(cause); |
|
7 | 1 | } |
|
8 | |||
9 | 1 | CacheException() { |
|
10 | 1 | } |
|
11 | |||
12 | 1 | static class UnknownCache extends CacheException { |
|
13 | |||
14 | } |
||
15 | |||
16 | 1 | static class CacheSupplierReturnedNull extends CacheException { |
|
17 | |||
18 | } |
||
19 | |||
20 | static class CacheSupplierThrewException extends CacheException { |
||
21 | |||
22 | CacheSupplierThrewException(Throwable cause) { |
||
23 | 1 | super(cause); |
|
24 | 1 | } |
|
29 |