Uses of Class
org.infinispan.protostream.DescriptorParserException
-
Packages that use DescriptorParserException Package Description org.infinispan.protostream Library for easy and efficient marshalling of Java objects in Protocol Buffers format.org.infinispan.protostream.descriptors Represents information contained in a proto fileorg.infinispan.protostream.impl Protostream internals.org.infinispan.protostream.impl.parser .proto schema file parser and a documentation pseudo-annotation parser. -
-
Uses of DescriptorParserException in org.infinispan.protostream
Methods in org.infinispan.protostream with parameters of type DescriptorParserException Modifier and Type Method Description default void
FileDescriptorSource.ProgressCallback. handleError(String fileName, DescriptorParserException exception)
This is invoked when an error is encountered, possibly more thant once per file.Methods in org.infinispan.protostream that throw DescriptorParserException Modifier and Type Method Description Map<String,FileDescriptor>
DescriptorParser. parse(FileDescriptorSource fileDescriptorSource)
Deprecated.Parses a set of .proto files but does not resolve type dependencies and does not detect semantic errors like duplicate type definitions.void
SerializationContext. registerProtoFiles(FileDescriptorSource source)
Register some proto schema definition files from aFileDescriptorSource
. -
Uses of DescriptorParserException in org.infinispan.protostream.descriptors
Methods in org.infinispan.protostream.descriptors with parameters of type DescriptorParserException Modifier and Type Method Description FileDescriptor.Builder
FileDescriptor.Builder. withParsingException(DescriptorParserException parsingException)
Methods in org.infinispan.protostream.descriptors that throw DescriptorParserException Modifier and Type Method Description void
FileDescriptor. resolveDependencies(ResolutionContext resolutionContext)
Resolve type references across files and report semantic errors like duplicate type declarations, duplicate type ids or clashing enum value constants. -
Uses of DescriptorParserException in org.infinispan.protostream.impl
Methods in org.infinispan.protostream.impl that throw DescriptorParserException Modifier and Type Method Description protected abstract AnnotationConfiguration
AnnotatedDescriptorImpl. getAnnotationConfig(AnnotationElement.Annotation annotation)
Subclasses are responsible for fetching theAnnotationConfiguration
from the appropriate config (it it exists) and to validate that the target is suitable.void
SerializationContextImpl. registerProtoFiles(FileDescriptorSource source)
-
Uses of DescriptorParserException in org.infinispan.protostream.impl.parser
Methods in org.infinispan.protostream.impl.parser that throw DescriptorParserException Modifier and Type Method Description Map<String,FileDescriptor>
SquareProtoParser. parse(FileDescriptorSource fileDescriptorSource)
Parses a set of .proto files but does not resolve type dependencies and does not detect semantic errors like duplicate type definitions.
-