Added in API level 26

ZoneRulesException

public class ZoneRulesException
extends 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(String message)

Constructs a new date-time exception with the specified message.

ZoneRulesException(String message, Throwable cause)

Constructs a new date-time exception with the specified message and cause.

Inherited methods

Public constructors

ZoneRulesException

Added in API level 26
public ZoneRulesException (String message)

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
public ZoneRulesException (String message, 
                Throwable cause)

Constructs a new date-time exception with the specified message and cause.