Added in API level 26
ZoneRulesException
open class ZoneRulesException : DateTimeException
kotlin.Any | |||||
↳ | kotlin.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | java.lang.RuntimeException | ||||
↳ | java.time.DateTimeException | ||||
↳ | java.time.zone.ZoneRulesException |
Thrown to indicate a problem with time-zone configuration.
This exception is used to indicate a problems with the configured time-zone rules.
Summary
Public constructors | |
---|---|
ZoneRulesException(message: String!) Constructs a new date-time exception with the specified message. |
|
ZoneRulesException(message: String!, cause: Throwable!) Constructs a new date-time exception with the specified message and cause. |
Public constructors
ZoneRulesException
Added in API level 26
ZoneRulesException(message: String!)
Constructs a new date-time exception with the specified message.
Parameters | |
---|---|
message |
String!: the message to use for this exception, may be null |
ZoneRulesException
Added in API level 26
ZoneRulesException(
message: String!,
cause: Throwable!)
Constructs a new date-time exception with the specified message and cause.
Parameters | |
---|---|
message |
String!: the message to use for this exception, may be null |
cause |
Throwable!: the cause of the exception, may be null |