Home
last modified time | relevance | path

Searched refs:DescriptorValidationException (Results 1 – 11 of 11) sorted by relevance

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java268 throws DescriptorValidationException { in buildFrom()
290 throws DescriptorValidationException { in buildFrom()
349 } catch (DescriptorValidationException e) { in internalBuildGeneratedFileFrom()
450 throws DescriptorValidationException { in FileDescriptor()
463 throw new DescriptorValidationException(this, in FileDescriptor()
470 throw new DescriptorValidationException(this, in FileDescriptor()
510 throws DescriptorValidationException { in FileDescriptor()
528 private void crossLink() throws DescriptorValidationException { in crossLink()
771 Descriptor(final String fullname) throws DescriptorValidationException { in Descriptor()
800 throws DescriptorValidationException { in Descriptor()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DFieldDescriptor.cs79 … throw new DescriptorValidationException(this, "Field numbers must be positive integers."); in FieldDescriptor()
87 throw new DescriptorValidationException(this, in FieldDescriptor()
276 … throw new DescriptorValidationException(this, $"\"{Proto.TypeName}\" is not a type."); in CrossLink()
284 … throw new DescriptorValidationException(this, $"\"{Proto.TypeName}\" is not a message type."); in CrossLink()
290 … throw new DescriptorValidationException(this, "Messages can't have default values."); in CrossLink()
297 … throw new DescriptorValidationException(this, $"\"{Proto.TypeName}\" is not an enum type."); in CrossLink()
303 … throw new DescriptorValidationException(this, "Field with primitive type has type_name."); in CrossLink()
310 …throw new DescriptorValidationException(this, "Field with message or enum type missing type_name."… in CrossLink()
320 … throw new DescriptorValidationException(this, "MessageSet format is not supported."); in CrossLink()
336 …throw new DescriptorValidationException(this, $"Property {propertyName} not found in {ContainingTy… in CreateAccessor()
DDescriptorValidationException.cs41 public sealed class DescriptorValidationException : Exception class
63 internal DescriptorValidationException(IDescriptor problemDescriptor, string description) : in DescriptorValidationException() method in Google.Protobuf.Reflection.DescriptorValidationException
73 …internal DescriptorValidationException(IDescriptor problemDescriptor, string description, Exceptio… in DescriptorValidationException() method in Google.Protobuf.Reflection.DescriptorValidationException
DDescriptorPool.cs139 throw new DescriptorValidationException(file, in AddPackage()
179 throw new DescriptorValidationException(descriptor, message); in AddSymbol()
196 throw new DescriptorValidationException(descriptor, "Missing name."); in ValidateSymbolName()
200 throw new DescriptorValidationException(descriptor, in ValidateSymbolName()
234 throw new DescriptorValidationException(field, "Field number " + field.FieldNumber + in AddFieldByNumber()
325 … throw new DescriptorValidationException(relativeTo, "\"" + name + "\" is not defined."); in LookupSymbol()
DFileDescriptor.cs103 … throw new DescriptorValidationException(@this, "Invalid public dependency index.");
111 … throw new DescriptorValidationException(@this, "Invalid public dependency: " + name);
249 throw new DescriptorValidationException( in BuildFrom()
258 throw new DescriptorValidationException( in BuildFrom()
312 catch (DescriptorValidationException e) in FromGeneratedCode()
DMethodDescriptor.cs91 …throw new DescriptorValidationException(this, "\"" + Proto.InputType + "\" is not a message type."… in CrossLink()
98 …throw new DescriptorValidationException(this, "\"" + Proto.OutputType + "\" is not a message type.… in CrossLink()
DOneofDescriptor.cs111 …throw new DescriptorValidationException(this, $"Property {clrName}Case not found in {containingTyp… in CreateAccessor()
116 …throw new DescriptorValidationException(this, $"Method Clear{clrName} not found in {containingType… in CreateAccessor()
DEnumDescriptor.cs59 … throw new DescriptorValidationException(this, "Enums must contain at least one value."); in EnumDescriptor()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java39 import com.google.protobuf.Descriptors.DescriptorValidationException;
469 } catch (DescriptorValidationException e) { in testDescriptorValidatorException()
569 } catch (DescriptorValidationException e) { in testInvalidPublicDependency()
590 } catch (DescriptorValidationException e) { in testUnknownFieldsDenied()
640 } catch (DescriptorValidationException e) { in testHiddenDependency()
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyDescriptorPool.java159 } catch (Descriptors.DescriptorValidationException e) { in buildFileDescriptor()
/external/protobuf/
DMakefile.am146 csharp/src/Google.Protobuf/Reflection/DescriptorValidationException.cs \