Package ai.pipestream.common.util
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
Exception thrown when a mapping rule cannot be applied.
Contains information about the rule that caused the exception.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMappingException(String message, String rule) Creates a new MappingException with a message and the rule that caused it.MappingException(String message, Throwable cause, String rule) Creates a new MappingException with a message, cause, and the rule that caused it. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MappingException
Creates a new MappingException with a message and the rule that caused it.- Parameters:
message- The error messagerule- The rule that caused the exception
-
MappingException
Creates a new MappingException with a message, cause, and the rule that caused it.- Parameters:
message- The error messagecause- The underlying cause of the exceptionrule- The rule that caused the exception
-