com.google.protobuf
Class Descriptors.DescriptorValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.google.protobuf.Descriptors.DescriptorValidationException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Descriptors

public static class Descriptors.DescriptorValidationException
extends java.lang.Exception

Thrown when building descriptors fails because the source DescriptorProtos are not valid.

See Also:
Serialized Form

Method Summary
 java.lang.String getDescription()
          Gets a human-readable description of the error.
 Message getProblemProto()
          Gets the the protocol message representation of the invalid descriptor.
 java.lang.String getProblemSymbolName()
          Gets the full name of the descriptor where the error occurred.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getProblemSymbolName

public java.lang.String getProblemSymbolName()
Gets the full name of the descriptor where the error occurred.


getProblemProto

public Message getProblemProto()
Gets the the protocol message representation of the invalid descriptor.


getDescription

public java.lang.String getDescription()
Gets a human-readable description of the error.



Copyright © 2008-2009 Google. All Rights Reserved.