Package org.orekit.data
Class ExceptionalDataContext
java.lang.Object
org.orekit.data.LazyLoadedDataContext
org.orekit.data.ExceptionalDataContext
- All Implemented Interfaces:
DataContext
A data context that always throws a runtime exception when it's methods are used. Can
be useful for determining if the default data context is used. E.g.
DataContext.setDefault(new ExceptionalDataContext());. The following classes have
static fields that are initialized using the default data context:
- Since:
- 10.1
- Author:
- Evan Ward
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet a factory constructingCelestialBodys based on the auxiliary data in this context.Get a factory constructingFrames based on the auxiliary data in this context.Get a factory constructingGeoMagneticFields based on the auxiliary data in this context.Get a factory constructing gravity fields based on the auxiliary data in this context.Get a factory for constructingTimeScales based on the auxiliary data in this context.Methods inherited from class org.orekit.data.LazyLoadedDataContext
getDataProvidersManager
-
Constructor Details
-
ExceptionalDataContext
public ExceptionalDataContext()Empty constructor.This constructor is not strictly necessary, but it prevents spurious javadoc warnings with JDK 18 and later.
- Since:
- 12.0
-
-
Method Details
-
getTimeScales
Description copied from interface:DataContextGet a factory for constructingTimeScales based on the auxiliary data in this context.- Specified by:
getTimeScalesin interfaceDataContext- Overrides:
getTimeScalesin classLazyLoadedDataContext- Returns:
- the set of common time scales using this data context.
-
getFrames
Description copied from interface:DataContextGet a factory constructingFrames based on the auxiliary data in this context.- Specified by:
getFramesin interfaceDataContext- Overrides:
getFramesin classLazyLoadedDataContext- Returns:
- the set of common reference frames using this data context.
-
getCelestialBodies
Description copied from interface:DataContextGet a factory constructingCelestialBodys based on the auxiliary data in this context.- Specified by:
getCelestialBodiesin interfaceDataContext- Overrides:
getCelestialBodiesin classLazyLoadedDataContext- Returns:
- the set of common celestial bodies using this data context.
-
getGravityFields
Description copied from interface:DataContextGet a factory constructing gravity fields based on the auxiliary data in this context.- Specified by:
getGravityFieldsin interfaceDataContext- Overrides:
getGravityFieldsin classLazyLoadedDataContext- Returns:
- the gravity fields using this data context.
-
getGeoMagneticFields
Description copied from interface:DataContextGet a factory constructingGeoMagneticFields based on the auxiliary data in this context.- Specified by:
getGeoMagneticFieldsin interfaceDataContext- Overrides:
getGeoMagneticFieldsin classLazyLoadedDataContext- Returns:
- the geomagnetic fields using this data context.
-