Package PamguardMVC
Class RawDataUnavailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
PamguardMVC.RawDataUnavailableException
- All Implemented Interfaces:
Serializable
Exception thrown by PamRawDataBlock when raw data are requested.
- Author:
- Doug Gillespie
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
-
Constructor Summary
ConstructorDescriptionRawDataUnavailableException
(PamRawDataBlock rawDataBlock, int dataCause, long availStart, long availEnd, long startSample, int duration) -
Method Summary
Modifier and TypeMethodDescriptionlong
long
int
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
DATA_ALREADY_DISCARDED
public static final int DATA_ALREADY_DISCARDED- See Also:
-
DATA_NOT_ARRIVED
public static final int DATA_NOT_ARRIVED- See Also:
-
INVALID_CHANNEL_LIST
public static final int INVALID_CHANNEL_LIST- See Also:
-
NEGATIVE_DURATION
public static final int NEGATIVE_DURATION- See Also:
-
NO_DATA
public static final int NO_DATA- See Also:
-
-
Constructor Details
-
RawDataUnavailableException
public RawDataUnavailableException(PamRawDataBlock rawDataBlock, int dataCause, long availStart, long availEnd, long startSample, int duration) - Parameters:
rawDataBlock
-startSample
-duration
-cause
-
-
-
Method Details
-
getDataCause
public int getDataCause()- Returns:
- the dataCause
-
getMessage
- Overrides:
getMessage
in classThrowable
-
getAvailableStart
public long getAvailableStart()- Returns:
- the availableStart
-
getAvailableEnd
public long getAvailableEnd()- Returns:
- the availableEnd
-