|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
caltool.schedule.ScheduleTaskPrecondViolation
public class ScheduleTaskPrecondViolation
Class ScheduleTaskPrecondViolation defines and exception containing error conditions for the Schedule.scheduleTask method. It contains a list of the specific error messages that may be output in response to a precondition having been violated by a call th scheduleTask.
Constructor Summary | |
---|---|
ScheduleTaskPrecondViolation()
|
Method Summary | |
---|---|
boolean |
anyErrors()
Return true if one or more error messages has been set. |
void |
clear()
Clear out all of the error messages in this. |
java.lang.String[] |
getErrors()
Return the concrete error list for precondtion violation. |
int |
numberOfErrors()
Return the number of error messages. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScheduleTaskPrecondViolation()
Method Detail |
---|
public java.lang.String[] getErrors()
getErrors
in interface PrecondViolation
public void clear()
clear
in interface PrecondViolation
public boolean anyErrors()
anyErrors
in interface PrecondViolation
public int numberOfErrors()
numberOfErrors
in interface PrecondViolation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |