Package org.torproject.descriptor
Interface UnparseableDescriptor
- All Superinterfaces:
Descriptor
,Serializable
Contains a descriptor that could not be parsed.
Only
Descriptor.getRawDescriptorBytes()
and
Descriptor.getDescriptorFile()
are supported.- Since:
- 1.9.0
-
Method Summary
Modifier and TypeMethodDescriptionWill always throw anUnsupportedOperationException
.Return the first exception thrown while attempting to parse this descriptor.Will always throw anUnsupportedOperationException
.Methods inherited from interface org.torproject.descriptor.Descriptor
getDescriptorFile, getRawDescriptorBytes, getRawDescriptorLength
-
Method Details
-
getDescriptorParseException
DescriptorParseException getDescriptorParseException()Return the first exception thrown while attempting to parse this descriptor.- Returns:
- First exception thrown.
- Since:
- 1.9.0
-
getAnnotations
Will always throw anUnsupportedOperationException
.- Specified by:
getAnnotations
in interfaceDescriptor
- Since:
- 1.9.0
-
getUnrecognizedLines
Will always throw anUnsupportedOperationException
.- Specified by:
getUnrecognizedLines
in interfaceDescriptor
- Since:
- 1.9.0
-