|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.scheduler.cron.CronSyntaxException.Builder
public static class CronSyntaxException.Builder
A builder for constructing a CronSyntaxException.
| Method Summary | |
|---|---|
CronSyntaxException |
build()
Returns the completed exception. |
CronSyntaxException.Builder |
cause(Throwable cause)
Sets the cause of the exception. |
CronSyntaxException.Builder |
cronExpression(String cronExpression)
Sets the cron expression that caused the exception. |
CronSyntaxException.Builder |
errorCode(ErrorCode errorCode)
Sets the error code for the exception. |
CronSyntaxException.Builder |
errorOffset(int errorOffset)
Sets the error code for the exception. |
CronSyntaxException.Builder |
value(char value)
Sets the value that caused the exception. |
CronSyntaxException.Builder |
value(String value)
Sets the value that caused the exception. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public CronSyntaxException.Builder cronExpression(@Nullable
String cronExpression)
"" is used.
public CronSyntaxException.Builder value(@Nullable
String value)
FEB-XYZ, then "XYZ" should be set for the value.
public CronSyntaxException.Builder value(char value)
value(String.valueOf(value)).
public CronSyntaxException.Builder errorCode(@Nullable
ErrorCode errorCode)
ErrorCode.INTERNAL_PARSER_FAILURE is used.
public CronSyntaxException.Builder errorOffset(int errorOffset)
-1 is used.
public CronSyntaxException.Builder cause(@Nullable
Throwable cause)
public CronSyntaxException build()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||