Top Description Fields Constructors
java.time.zone

public Class ZoneRulesException

extends DateTimeException
Class Inheritance
Imports
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.

Implementation Specification

This class is intended for use in a single thread.

Since
1.8

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
ZoneRulesException(String
the message to use for this exception, may be null
message
)

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

public
ZoneRulesException(String
the message to use for this exception, may be null
message
,
Throwable
the cause of the exception, may be null
cause
)

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

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.time.DateTimeException.serialVersionUID.

Serialization version.

Constructor Detail

ZoneRulesExceptionback to summary
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

ZoneRulesExceptionback to summary
public ZoneRulesException(String message, Throwable cause)

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