Class ConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.gcube.spatial.data.geonetwork.model.faults.GeoNetworkException
org.gcube.spatial.data.geonetwork.model.faults.ConfigurationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MissingConfigurationException
Exception thrown when a configuration error occurs.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new configuration exception.ConfigurationException(String message) Constructs a new configuration exception with the specified detail message.ConfigurationException(String message, Throwable cause) Constructs a new configuration exception with the specified detail message and cause.ConfigurationException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Constructs a new configuration exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.ConfigurationException(Throwable cause) Constructs a new configuration exception with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConfigurationException
public ConfigurationException()Constructs a new configuration exception. -
ConfigurationException
Constructs a new configuration exception with the specified detail message.- Parameters:
message- the detail message
-
ConfigurationException
Constructs a new configuration exception with the specified cause.- Parameters:
cause- the cause
-
ConfigurationException
Constructs a new configuration exception with the specified detail message and cause.- Parameters:
message- the detail messagecause- the cause
-
ConfigurationException
public ConfigurationException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Constructs a new configuration exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.- Parameters:
message- the detail messagecause- the causeenableSuppression- whether suppression is enabled or disabledwritableStackTrace- whether the stack trace should be writable
-