rcp: Move plugins to their own sub-directory
[deliverable/tracecompass.git] / org.eclipse.tracecompass.ctf.core / src / org / eclipse / tracecompass / ctf / core / event / types / FloatDeclaration.java
index 683bf978e975246bfa79c6ce43c291bf891258f3..cd19941b599b2df3fb3156ce6b2abbd12d976684 100644 (file)
@@ -15,7 +15,7 @@ import java.nio.ByteOrder;
 
 import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.eclipse.jdt.annotation.Nullable;
-import org.eclipse.tracecompass.ctf.core.CTFReaderException;
+import org.eclipse.tracecompass.ctf.core.CTFException;
 import org.eclipse.tracecompass.ctf.core.event.io.BitBuffer;
 import org.eclipse.tracecompass.ctf.core.event.scope.IDefinitionScope;
 
@@ -109,7 +109,7 @@ public final class FloatDeclaration extends Declaration implements ISimpleDataty
 
     @Override
     public FloatDefinition createDefinition(@Nullable IDefinitionScope definitionScope,
-            String fieldName, BitBuffer input) throws CTFReaderException {
+            String fieldName, BitBuffer input) throws CTFException {
         ByteOrder byteOrder = input.getByteOrder();
         input.setByteOrder(fByteOrder);
         double value = read(input);
@@ -123,7 +123,7 @@ public final class FloatDeclaration extends Declaration implements ISimpleDataty
         return "[declaration] float[" + Integer.toHexString(hashCode()) + ']'; //$NON-NLS-1$
     }
 
-    private double read(BitBuffer input) throws CTFReaderException {
+    private double read(BitBuffer input) throws CTFException {
         /* Offset the buffer position wrt the current alignment */
         alignRead(input);
         final int exp = getExponent();
@@ -138,13 +138,13 @@ public final class FloatDeclaration extends Declaration implements ISimpleDataty
     }
 
     private static double readRawFloat32(BitBuffer input, final int manBits,
-            final int expBits) throws CTFReaderException {
+            final int expBits) throws CTFException {
         long temp = input.get(32, false);
         return createFloat(temp, manBits - 1, expBits);
     }
 
     private static double readRawFloat64(BitBuffer input, final int manBits,
-            final int expBits) throws CTFReaderException {
+            final int expBits) throws CTFException {
         long temp = input.get(64, false);
         return createFloat(temp, manBits - 1, expBits);
     }
This page took 0.032217 seconds and 5 git commands to generate.