All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sh.platform.config.FallbackException Maven / Gradle / Ivy

package sh.platform.config;

/**
 * Platform.SH has all configuration setup through the environment in the cloud,
 * but the Java API offers a fallback file that is useful when we talk about local development.
 * This exception will handle when there is some error when trying this fallback process.
 */
class FallbackException extends PlatformShException {

    /**
     * Constructs a new runtime exception with the specified detail message and
     * cause.  

Note that the detail message associated with * {@code cause} is not automatically incorporated in * this runtime exception's detail message. * * @param message the detail message (which is saved for later retrieval * by the {@link #getMessage()} method). * @param cause the cause (which is saved for later retrieval by the * {@link #getCause()} method). (A null value is * permitted, and indicates that the cause is nonexistent or * unknown.) */ FallbackException(String message, Throwable cause) { super(message, cause); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy