Package io.github.cdimascio.dotenv
Class DotenvException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.github.cdimascio.dotenv.DotenvException
-
- All Implemented Interfaces:
Serializable
public class DotenvException extends RuntimeException
Signals that dotenv exception of some sort has occurred.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DotenvException(String message)
Create a dotenv runtime exception with the specified detail messageDotenvException(Throwable cause)
Creates a dotenv runtime exception
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DotenvException
public DotenvException(String message)
Create a dotenv runtime exception with the specified detail message- Parameters:
message
- the detail message
-
DotenvException
public DotenvException(Throwable cause)
Creates a dotenv runtime exception- Parameters:
cause
- the cause
-
-