Home
last modified time | relevance | path

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

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java281 throws DescriptorValidationException { in buildFrom()
300 throws DescriptorValidationException { in buildFrom()
379 } catch (DescriptorValidationException e) { in internalBuildGeneratedFileFrom()
420 } catch (DescriptorValidationException e) { in internalBuildGeneratedFileFrom()
506 throws DescriptorValidationException { in FileDescriptor()
518 throw new DescriptorValidationException(this, "Invalid public dependency index."); in FileDescriptor()
524 throw new DescriptorValidationException(this, "Invalid public dependency: " + name); in FileDescriptor()
558 FileDescriptor(String packageName, Descriptor message) throws DescriptorValidationException { in FileDescriptor()
579 private void crossLink() throws DescriptorValidationException { in crossLink()
826 Descriptor(final String fullname) throws DescriptorValidationException { in Descriptor()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DFieldDescriptor.cs83 … throw new DescriptorValidationException(this, "Field numbers must be positive integers."); in FieldDescriptor()
90 throw new DescriptorValidationException(this, in FieldDescriptor()
325 … throw new DescriptorValidationException(this, $"\"{Proto.TypeName}\" is not a type."); in CrossLink()
333 … throw new DescriptorValidationException(this, $"\"{Proto.TypeName}\" is not a message type."); in CrossLink()
339 … throw new DescriptorValidationException(this, "Messages can't have default values."); in CrossLink()
346 … throw new DescriptorValidationException(this, $"\"{Proto.TypeName}\" is not an enum type."); in CrossLink()
352 … throw new DescriptorValidationException(this, "Field with primitive type has type_name."); in CrossLink()
359 …throw new DescriptorValidationException(this, "Field with message or enum type missing type_name."… in CrossLink()
374 … throw new DescriptorValidationException(this, "MessageSet format is not supported."); in CrossLink()
396 …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()
235 throw new DescriptorValidationException(field, "Field number " + field.FieldNumber + in AddFieldByNumber()
326 … throw new DescriptorValidationException(relativeTo, "\"" + name + "\" is not defined."); in LookupSymbol()
DMethodDescriptor.cs119 …throw new DescriptorValidationException(this, "\"" + Proto.InputType + "\" is not a message type."… in CrossLink()
126 …throw new DescriptorValidationException(this, "\"" + Proto.OutputType + "\" is not a message type.… in CrossLink()
DOneofDescriptor.cs154 …throw new DescriptorValidationException(this, $"Property {clrName}Case not found in {containingTyp… in CreateAccessor()
159 …throw new DescriptorValidationException(this, $"Method Clear{clrName} not found in {containingType… in CreateAccessor()
DFileDescriptor.cs195 … throw new DescriptorValidationException(@this, "Invalid public dependency index.");
203 … throw new DescriptorValidationException(@this, "Invalid public dependency: " + name);
346 throw new DescriptorValidationException( in BuildFrom()
402 catch (DescriptorValidationException e) in FromGeneratedCode()
DEnumDescriptor.cs60 … throw new DescriptorValidationException(this, "Enums must contain at least one value."); in EnumDescriptor()
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDescriptorsTest.java39 import com.google.protobuf.Descriptors.DescriptorValidationException;
455 } catch (DescriptorValidationException e) { in testDescriptorValidatorException()
529 } catch (DescriptorValidationException e) { in testInvalidPublicDependency()
564 } catch (DescriptorValidationException e) { in testHiddenDependency()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java44 import com.google.protobuf.Descriptors.DescriptorValidationException;
439 } catch (DescriptorValidationException e) { in testDescriptorValidatorException()
536 } catch (DescriptorValidationException e) { in testInvalidPublicDependency()
559 } catch (DescriptorValidationException e) { in testUnknownFieldsDenied()
615 } 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.am181 csharp/src/Google.Protobuf/Reflection/DescriptorValidationException.cs \