Class PExceptionDescriptor<Ex extends PMessage<Ex>>

  • All Implemented Interfaces:
    java.lang.reflect.Type, PDescriptor

    @Immutable
    public abstract class PExceptionDescriptor<Ex extends PMessage<Ex>>
    extends PMessageDescriptor<Ex>
    The definition of a thrift exception.
    • Constructor Detail

      • PExceptionDescriptor

        public PExceptionDescriptor​(java.lang.String packageName,
                                    java.lang.String name,
                                    java.util.function.Supplier<PMessageBuilder<Ex>> builderSupplier,
                                    boolean simple)
    • Method Detail

      • isInnerType

        public boolean isInnerType()
        Specified by:
        isInnerType in class PDeclaredDescriptor<Ex extends PMessage<Ex>>
        Returns:
        Returns true if the type is an inner type. Meaning it is contained within another type or service.
      • isAutoType

        public boolean isAutoType()
        Specified by:
        isAutoType in class PDeclaredDescriptor<Ex extends PMessage<Ex>>
        Returns:
        Returns true if the type is generated automatically by means of something else, e.g. request and response types for services. Or is a built in type as part of providence itself.