Package dev.voidframework.core.exception
Class RemoteConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.voidframework.core.exception.RemoteConfigurationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RemoteConfigurationException.BadProvider,RemoteConfigurationException.BadValue,RemoteConfigurationException.FetchError,RemoteConfigurationException.ProviderDoesNotExist,RemoteConfigurationException.StorageException
All exceptions thrown by the remote configuration are subclasses of
RemoteConfigurationException.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis exception indicate that provider can't be instantiated / used.static classThis exception indicate that a value was not valid.static classThis exception indicate that provider fail to fetch remote configuration.static classThis exception indicate that provider does not exist.static classThis exception indicate that file can't be saved. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRemoteConfigurationException(String message) Build a new instance.protectedRemoteConfigurationException(String providerClassName, String message) Build a new instance.protectedRemoteConfigurationException(String providerClassName, String message, Throwable cause) Build a new instance.protectedRemoteConfigurationException(String message, Throwable cause) Build a new instance. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RemoteConfigurationException
Build a new instance.- Parameters:
providerClassName- The provider class namemessage- The detail message
-
RemoteConfigurationException
Build a new instance.- Parameters:
providerClassName- The provider class namemessage- The detail messagecause- The cause
-
RemoteConfigurationException
Build a new instance.- Parameters:
message- The detail message
-
RemoteConfigurationException
Build a new instance.- Parameters:
message- The detail messagecause- The cause
-