net.sf.jaer.eventio
Class AEFileInputStream.WrappedTimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.sf.jaer.eventio.AEFileInputStream.NonMonotonicTimeException
net.sf.jaer.eventio.AEFileInputStream.WrappedTimeException
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- AEFileInputStream
public class AEFileInputStream.WrappedTimeException
- extends AEFileInputStream.NonMonotonicTimeException
Indicates that timestamp has wrapped around from most positive to most negative signed value.
The de-facto timestamp tick is us and timestamps are represented as int32 in jAER. Therefore the largest possible positive timestamp
is 2^31-1 ticks which equals 2147.4836 seconds (35.7914 minutes). This wraps to -2147 seconds. The actual total time
can be computed taking account of these "big wraps" if
the time is increased by 4294.9673 seconds on each WrappedTimeException (when readimg file forwards).
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AEFileInputStream.WrappedTimeException
public AEFileInputStream.WrappedTimeException(int readTs,
int lastTs)
AEFileInputStream.WrappedTimeException
public AEFileInputStream.WrappedTimeException(int readTs,
int lastTs,
int position)
toString
public java.lang.String toString()
- Overrides:
toString
in class AEFileInputStream.NonMonotonicTimeException