Package org.orekit.data
Class ExceptionalDataContext
- java.lang.Object
-
- org.orekit.data.LazyLoadedDataContext
-
- org.orekit.data.ExceptionalDataContext
-
- All Implemented Interfaces:
DataContext
public class ExceptionalDataContext extends LazyLoadedDataContext implements 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:
DataContext.setDefault(LazyLoadedDataContext)
-
-
Constructor Summary
Constructors Constructor Description ExceptionalDataContext()
Empty constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LazyLoadedCelestialBodies
getCelestialBodies()
Get a factory constructingCelestialBody
s based on the auxiliary data in this context.LazyLoadedFrames
getFrames()
Get a factory constructingFrame
s based on the auxiliary data in this context.LazyLoadedGeoMagneticFields
getGeoMagneticFields()
Get a factory constructingGeoMagneticField
s based on the auxiliary data in this context.LazyLoadedGravityFields
getGravityFields()
Get a factory constructing gravity fields based on the auxiliary data in this context.LazyLoadedTimeScales
getTimeScales()
Get a factory for constructingTimeScale
s based on the auxiliary data in this context.-
Methods inherited from class org.orekit.data.LazyLoadedDataContext
getDataProvidersManager
-
-
-
-
Method Detail
-
getTimeScales
public LazyLoadedTimeScales getTimeScales()
Description copied from interface:DataContext
Get a factory for constructingTimeScale
s based on the auxiliary data in this context.- Specified by:
getTimeScales
in interfaceDataContext
- Overrides:
getTimeScales
in classLazyLoadedDataContext
- Returns:
- the set of common time scales using this data context.
-
getFrames
public LazyLoadedFrames getFrames()
Description copied from interface:DataContext
Get a factory constructingFrame
s based on the auxiliary data in this context.- Specified by:
getFrames
in interfaceDataContext
- Overrides:
getFrames
in classLazyLoadedDataContext
- Returns:
- the set of common reference frames using this data context.
-
getCelestialBodies
public LazyLoadedCelestialBodies getCelestialBodies()
Description copied from interface:DataContext
Get a factory constructingCelestialBody
s based on the auxiliary data in this context.- Specified by:
getCelestialBodies
in interfaceDataContext
- Overrides:
getCelestialBodies
in classLazyLoadedDataContext
- Returns:
- the set of common celestial bodies using this data context.
-
getGravityFields
public LazyLoadedGravityFields getGravityFields()
Description copied from interface:DataContext
Get a factory constructing gravity fields based on the auxiliary data in this context.- Specified by:
getGravityFields
in interfaceDataContext
- Overrides:
getGravityFields
in classLazyLoadedDataContext
- Returns:
- the gravity fields using this data context.
-
getGeoMagneticFields
public LazyLoadedGeoMagneticFields getGeoMagneticFields()
Description copied from interface:DataContext
Get a factory constructingGeoMagneticField
s based on the auxiliary data in this context.- Specified by:
getGeoMagneticFields
in interfaceDataContext
- Overrides:
getGeoMagneticFields
in classLazyLoadedDataContext
- Returns:
- the geomagnetic fields using this data context.
-
-