Package net.solarnetwork.central
Class RepeatableTaskException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.solarnetwork.central.RepeatableTaskException
- All Implemented Interfaces:
Serializable
An exception when some task that can be repeated safely has failed to signal
to the caller to retry the task.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.Construct with an ID value.RepeatableTaskException(String msg, Throwable t) RepeatableTaskException(String msg, Throwable t, Serializable id) Construct with values. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RepeatableTaskException
public RepeatableTaskException()Default constructor. -
RepeatableTaskException
Construct with an ID value.- Parameters:
id- An ID associated with this repeatable task.- Since:
- 1.1
-
RepeatableTaskException
-
RepeatableTaskException
Construct with values.- Parameters:
msg- A message.t- A nested exception.id- An ID associated with this repeatable task.- Since:
- 1.1
-
RepeatableTaskException
-
RepeatableTaskException
-
-
Method Details
-
getId
Get the ID associated with the repeatable task.- Returns:
- An ID, or null if none available.
-