public final class ScheduleException extends IllegalArgumentException
Constructor and Description |
---|
ScheduleException(PeriodicSchedule definition,
String msgTemplate,
Object... msgArguments)
Creates an instance, specifying the definition that caused the problem.
|
ScheduleException(String msgTemplate,
Object... msgArguments)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
Optional<PeriodicSchedule> |
getDefinition()
Gets the invalid schedule definition.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ScheduleException(String msgTemplate, Object... msgArguments)
The message is formatted using Messages.format(String, Object...)
.
Message formatting is null tolerant to avoid hiding this exception.
msgTemplate
- the message template, null tolerantmsgArguments
- the message arguments, null tolerantpublic ScheduleException(PeriodicSchedule definition, String msgTemplate, Object... msgArguments)
The message is formatted using Messages.format(String, Object...)
.
Message formatting is null tolerant to avoid hiding this exception.
definition
- the invalid schedule definition, null tolerantmsgTemplate
- the message template, null tolerantmsgArguments
- the message arguments, null tolerantpublic Optional<PeriodicSchedule> getDefinition()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.