ZoneRulesException | API reference | Android Developers (original) (raw)
open class ZoneRulesException : DateTimeException
kotlin.Any | ||||
---|---|---|---|---|
↳ | kotlin.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.RuntimeException | |||
↳ | java.time.DateTimeException | |||
↳ |
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
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
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 |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.