Class FileParameterSourceUnavailableException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- com.redwood.scheduler.infrastructure.exception.BaseSchedulerException
- 
- com.redwood.scheduler.infrastructure.exception.SchedulerException
- 
- com.redwood.scheduler.api.exception.SchedulerAPIException
- 
- com.redwood.scheduler.api.exception.FileParameterSourceUnavailableException
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- ExceptionRelatesToAPIObject,- ExceptionData,- Serializable
 
 @Generated("build/redwood/jbs/generated-exceptions/Exceptions.java.tmpl") public class FileParameterSourceUnavailableException extends com.redwood.scheduler.api.exception.SchedulerAPIException implements ExceptionRelatesToAPIObject Error retrieving content for {2}- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedFileParameterSourceUnavailableException(String newErrorCode, String messageFormat, Throwable cause, SchedulerEntity causeObject, String fieldName, Object[] exceptionDataEN, Object[] exceptionData)FileParameterSourceUnavailableException(Throwable cause, SchedulerEntity causeObject, String fieldName)Error retrieving content for {2}
 - 
Method SummaryAll Methods Instance Methods Concrete 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- 
Methods inherited from class com.redwood.scheduler.infrastructure.exception.BaseSchedulerExceptionbestException, getDefaultMessageFormat, getErrorCode, getExceptionData, getLocalizedMessage, getLocalizedMessage, getMessage, getTranslation, isSystemLoggable, skipException, toString
 - 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
- 
 
- 
- 
- 
Constructor Detail- 
FileParameterSourceUnavailableExceptionprotected FileParameterSourceUnavailableException(String newErrorCode, String messageFormat, Throwable cause, SchedulerEntity causeObject, String fieldName, Object[] exceptionDataEN, Object[] exceptionData) 
 - 
FileParameterSourceUnavailableExceptionpublic FileParameterSourceUnavailableException(Throwable cause, SchedulerEntity causeObject, String fieldName) Error retrieving content for {2}- Parameters:
- cause- The originating exception, null if this is the originating exception
- causeObject- the object that caused the exception
- fieldName- Name of the field that caused the exception, null if not applicable.
 
 
- 
 - 
Method Detail- 
getRelatedObjectTypepublic final String getRelatedObjectType() Description copied from interface:ExceptionRelatesToAPIObjectWhat is the object type of the object that caused the exception- Specified by:
- getRelatedObjectTypein interface- ExceptionRelatesToAPIObject
- Returns:
- the object type of the object that caused the excpetion
 
 - 
getRelatedUidpublic final Long getRelatedUid() Description copied from interface:ExceptionRelatesToAPIObjectWhat is the UniqueId of the object that caused the exception- Specified by:
- getRelatedUidin interface- ExceptionRelatesToAPIObject
- Returns:
- the UniqueId of the object that caused the exception
 
 - 
getRelatedFieldpublic final String getRelatedField() Description copied from interface:ExceptionRelatesToAPIObjectIf the cause of the exception is caused by a specific field then it returns the name of the field- Specified by:
- getRelatedFieldin interface- ExceptionRelatesToAPIObject
- Returns:
- the name of the field that caused the exception, otherwise it returns null.
 
 
- 
 
-