Interface ExceptionRelatesToAPIObject
- 
- All Known Implementing Classes:
- ConstraintViolatedException,- ExportException,- FileParameterInvalidTypeException,- FileParameterMissingTypeException,- FileParameterSourceUnavailableException
 
 public interface ExceptionRelatesToAPIObjectThis interface is implemented by exceptions that are caused by a schedulerentity. This can then be used to show the user which object, and even the field if it is known, caused the exception
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetRelatedField()If the cause of the exception is caused by a specific field then it returns the name of the fieldStringgetRelatedObjectType()What is the object type of the object that caused the exceptionLonggetRelatedUid()What is the UniqueId of the object that caused the exception
 
- 
- 
- 
Method Detail- 
getRelatedObjectTypeString getRelatedObjectType() What is the object type of the object that caused the exception- Returns:
- the object type of the object that caused the excpetion
 
 - 
getRelatedUidLong getRelatedUid() What is the UniqueId of the object that caused the exception- Returns:
- the UniqueId of the object that caused the exception
 
 - 
getRelatedFieldString getRelatedField() If the cause of the exception is caused by a specific field then it returns the name of the field- Returns:
- the name of the field that caused the exception, otherwise it returns null.
 
 
- 
 
-