ConfigException

org.ekrich.config.ConfigException
See theConfigException companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

class BadBean(message: String, cause: Throwable) extends BugOrBroken

Some problem with a JavaBean we are trying to initialize.

Some problem with a JavaBean we are trying to initialize.

Attributes

Since

1.3.0

Supertypes
class BugOrBroken
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class BadPath(origin: ConfigOrigin, message: String, cause: Throwable) extends ConfigException

Exception indicating that a path expression was invalid. Try putting double quotes around path elements that contain "special" characters.

Exception indicating that a path expression was invalid. Try putting double quotes around path elements that contain "special" characters.

Attributes

Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class BadValue(origin: ConfigOrigin, message: String, cause: Throwable) extends ConfigException

Exception indicating that a value was messed up, for example you may have asked for a duration and the value can't be sensibly parsed as a duration.

Exception indicating that a value was messed up, for example you may have asked for a duration and the value can't be sensibly parsed as a duration.

Attributes

Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class BugOrBroken(message: String, cause: Throwable) extends ConfigException

Exception indicating that there's a bug in something (possibly the library itself) or the runtime environment is broken. This exception should never be handled; instead, something should be fixed to keep the exception from occurring. This exception can be thrown by any method in the library.

Exception indicating that there's a bug in something (possibly the library itself) or the runtime environment is broken. This exception should never be handled; instead, something should be fixed to keep the exception from occurring. This exception can be thrown by any method in the library.

Attributes

Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
class BadBean
class NotResolved
class Generic(message: String, cause: Throwable) extends ConfigException

Exception that doesn't fall into any other category.

Exception that doesn't fall into any other category.

Attributes

Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class IO(origin: ConfigOrigin, message: String, cause: Throwable) extends ConfigException

Exception indicating that there was an IO error.

Exception indicating that there was an IO error.

Attributes

Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class Missing(origin: ConfigOrigin, message: String, cause: Throwable) extends ConfigException

Attributes

Companion
object
Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
class Null
object Missing

Exception indicates that the setting was never set to anything, not even null.

Exception indicates that the setting was never set to anything, not even null.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Missing.type
class NotResolved(message: String, cause: Throwable) extends BugOrBroken

Exception indicating that you tried to use a function that requires substitutions to be resolved, but substitutions have not been resolved (that is, resolve() was not called). This is always a bug in either application code or the library; it's wrong to write a handler for this exception because you should be able to fix the code to avoid it by adding calls to resolve().

Exception indicating that you tried to use a function that requires substitutions to be resolved, but substitutions have not been resolved (that is, resolve() was not called). This is always a bug in either application code or the library; it's wrong to write a handler for this exception because you should be able to fix the code to avoid it by adding calls to resolve().

Attributes

Supertypes
class BugOrBroken
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class Null(origin: ConfigOrigin, path: String, expected: String, cause: Throwable) extends Missing

Attributes

Companion
object
Supertypes
class Missing
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
object Null

Exception indicates that the setting was treated as missing because it was set to null.

Exception indicates that the setting was treated as missing because it was set to null.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Null.type
class Parse(origin: ConfigOrigin, message: String, cause: Throwable) extends ConfigException

Exception indicating that there was a parse error.

Exception indicating that there was a parse error.

Attributes

Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
class UnresolvedSubstitution(origin: ConfigOrigin, detail: String, cause: Throwable) extends Parse

Exception indicating that a substitution did not resolve to anything. Thrown by resolve().

Exception indicating that a substitution did not resolve to anything. Thrown by resolve().

Attributes

Supertypes
class Parse
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class ValidationFailed(val problems: Iterable[ValidationProblem]) extends ConfigException

Attributes

Companion
object
Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Exception indicating that Config#checkValid found validity problems. The problems are available via the ValidationFailed#problems method. The getMessage of this exception is a potentially very long string listing all the problems found.

Exception indicating that Config#checkValid found validity problems. The problems are available via the ValidationFailed#problems method. The getMessage of this exception is a potentially very long string listing all the problems found.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class ValidationProblem(val path: String, val origin: ConfigOrigin, val problem: String) extends Serializable

Information about a problem that occurred in Config#checkValid. A ConfigException.ValidationFailed exception thrown from checkValid includes a list of problems encountered.

Information about a problem that occurred in Config#checkValid. A ConfigException.ValidationFailed exception thrown from checkValid includes a list of problems encountered.

Attributes

Supertypes
trait Serializable
class Object
trait Matchable
class Any
class WrongType(origin: ConfigOrigin, message: String, cause: Throwable) extends ConfigException

Exception indicating that the type of a value does not match the type you requested.

Exception indicating that the type of a value does not match the type you requested.

Attributes

Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all