Uses of Class
org.infinispan.protostream.DescriptorParserException
Packages that use DescriptorParserException
Package
Description
Library for easy and efficient marshalling of Java objects in Protocol Buffers format.
Represents information contained in a proto file
Protostream internals.
.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 DescriptorParserExceptionModifier and TypeMethodDescriptiondefault voidFileDescriptorSource.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 DescriptorParserExceptionModifier and TypeMethodDescriptionvoidSerializationContext.registerProtoFiles(FileDescriptorSource source) Register some proto schema definition files from aFileDescriptorSource. -
Uses of DescriptorParserException in org.infinispan.protostream.descriptors
Fields in org.infinispan.protostream.descriptors declared as DescriptorParserExceptionModifier and TypeFieldDescriptionprivate DescriptorParserExceptionFileDescriptor.Builder.parsingExceptionprivate final DescriptorParserExceptionFileDescriptor.parsingExceptionWhenFileDescriptor.statusis equal toFileDescriptor.Status.PARSING_ERROR, this exception provides the cause.Methods in org.infinispan.protostream.descriptors with parameters of type DescriptorParserExceptionModifier and TypeMethodDescription(package private) voidResolutionContext.handleError(FileDescriptor fileDescriptor, DescriptorParserException dpe) FileDescriptor.Builder.withParsingException(DescriptorParserException parsingException) Methods in org.infinispan.protostream.descriptors that throw DescriptorParserExceptionModifier and TypeMethodDescriptionvoidFileDescriptor.resolveDependencies(ResolutionContext resolutionContext) Resolve type references across files and report semantic errors like duplicate type declarations, duplicate type ids or clashing enum value constants.private voidFileDescriptor.resolveDependencies(ResolutionContext resolutionContext, Set<String> processedFiles) private List<FileDescriptor> FileDescriptor.resolveImports(List<String> dependencies, ResolutionContext resolutionContext, Set<String> processedFiles) Resolves imported file names toFileDescriptors. -
Uses of DescriptorParserException in org.infinispan.protostream.impl
Methods in org.infinispan.protostream.impl that return DescriptorParserExceptionModifier and TypeMethodDescriptionLog_$logger.parserException(String filename, String message) Log.parserException(String filename, String message) Methods in org.infinispan.protostream.impl that throw DescriptorParserExceptionModifier and TypeMethodDescriptionprotected abstract AnnotationConfigurationAnnotatedDescriptorImpl.getAnnotationConfig(AnnotationElement.Annotation annotation) Subclasses are responsible for fetching theAnnotationConfigurationfrom the appropriate config (it it exists) and to validate that the target is suitable.voidSerializationContextImpl.registerProtoFiles(FileDescriptorSource source) -
Uses of DescriptorParserException in org.infinispan.protostream.impl.parser
Methods in org.infinispan.protostream.impl.parser with parameters of type DescriptorParserExceptionModifier and TypeMethodDescriptionprivate voidProtostreamProtoParser.reportParsingError(FileDescriptorSource fileDescriptorSource, Map<String, FileDescriptor> fileDescriptorMap, String fileName, DescriptorParserException dpe) Report the error to the callback if any, or just throw it otherwise.Methods in org.infinispan.protostream.impl.parser that throw DescriptorParserExceptionModifier and TypeMethodDescriptionProtostreamProtoParser.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.