Class MaplibreException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.maplibre.nativeffi.error.MaplibreException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidArgumentException, InvalidStateException, NativeErrorException, UnsupportedFeatureException, WrongThreadException
Base unchecked exception for errors reported by the native Maplibre C ABI.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMaplibreException(MaplibreStatus status, int nativeStatusCode, String diagnostic) -
Method Summary
Modifier and TypeMethodDescriptionstatic MaplibreExceptionforStatus(MaplibreStatus status, int nativeStatusCode, String diagnostic) intstatus()Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MaplibreException
-
-
Method Details
-
status
-
nativeStatusCode
public int nativeStatusCode() -
diagnostic
-
forStatus
public static MaplibreException forStatus(MaplibreStatus status, int nativeStatusCode, String diagnostic)
-