Class ProtoFieldMapperImpl.MappingException

java.lang.Object
java.lang.Throwable
java.lang.Exception
ai.pipestream.common.util.ProtoFieldMapperImpl.MappingException
All Implemented Interfaces:
Serializable
Enclosing class:
ProtoFieldMapperImpl

public static class ProtoFieldMapperImpl.MappingException extends Exception
Exception thrown when a mapping rule cannot be applied. Contains information about the rule that caused the exception.
See Also:
  • Constructor Details

    • MappingException

      public MappingException(String message, String rule)
      Creates a new MappingException with a message and the rule that caused it.
      Parameters:
      message - The error message
      rule - The rule that caused the exception
    • MappingException

      public MappingException(String message, Throwable cause, String rule)
      Creates a new MappingException with a message, cause, and the rule that caused it.
      Parameters:
      message - The error message
      cause - The underlying cause of the exception
      rule - The rule that caused the exception