Class FoundationMessages

CoreMessages
com.northconcepts.datapipeline.foundations.i18n.FoundationMessages
Direct Known Subclasses:
SchemaMessages

public class FoundationMessages extends CoreMessages
Formats the error messages used across DataPipeline Foundations; each static method returns one message built from its arguments.
  • Constructor Details

    • FoundationMessages

      public FoundationMessages()
  • Method Details

    • noFieldSet

      public static String noFieldSet(String fieldName)
    • sizeMismatch

      public static String sizeMismatch(String fieldName1, String fieldName2, int length1, int length2)
    • variableNameIsReserved

      public static String variableNameIsReserved(String variableName)
    • noDataMappingTargetFields

      public static String noDataMappingTargetFields(String dataMappingName)
    • fieldTypeNotSupportedByRecordSerializationTool

      public static String fieldTypeNotSupportedByRecordSerializationTool(String fieldType)
    • schemaMismatch

      public static String schemaMismatch(String objectName, String expectedSchemaName, String actualSchemaName)
    • negativeValue

      public static String negativeValue(String fieldName, Number value)
    • positiveScale

      public static String positiveScale(Number value)
    • precisionNotLessThanAbsScale

      public static String precisionNotLessThanAbsScale(Integer precision, Integer scaleMagnitude)
    • unsupportedOperation

      public static String unsupportedOperation(String operationName)
    • fileNotFound

      public static String fileNotFound(String file)
    • invalidOffsetOrCount

      public static String invalidOffsetOrCount(long offset, long count, long total)
    • dataLoadingNotStarted

      public static String dataLoadingNotStarted()
    • columnCountMismatchInLocalFileDataset

      public static String columnCountMismatchInLocalFileDataset(int metadataColumnCount, int statsColumnCount)
    • indexOutOfBound

      public static String indexOutOfBound(long index, long endIndex)
    • fileIndexOutOfBound

      public static String fileIndexOutOfBound(long fileIndex, long endFileIndex)