Rd5Diff: Specify IOException instead of generic Exception

This commit is contained in:
Manuel Fuhr 2022-01-11 08:04:03 +01:00
parent 13f5ad0bcf
commit 0a8d4dd1f2
3 changed files with 34 additions and 30 deletions

View file

@ -15,7 +15,7 @@ public final class MicroCache2 extends MicroCache
private int latBase;
private int cellsize;
public MicroCache2( int size, byte[] databuffer, int lonIdx, int latIdx, int divisor ) throws Exception
public MicroCache2( int size, byte[] databuffer, int lonIdx, int latIdx, int divisor )
{
super( databuffer ); // sets ab=databuffer, aboffset=0
@ -34,7 +34,7 @@ public final class MicroCache2 extends MicroCache
return b;
}
public MicroCache2( StatCoderContext bc, DataBuffers dataBuffers, int lonIdx, int latIdx, int divisor, TagValueValidator wayValidator, WaypointMatcher waypointMatcher ) throws Exception
public MicroCache2( StatCoderContext bc, DataBuffers dataBuffers, int lonIdx, int latIdx, int divisor, TagValueValidator wayValidator, WaypointMatcher waypointMatcher )
{
super( null );
cellsize = 1000000 / divisor;