Class CException

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  CException.Builder  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CExceptionDescriptor descriptor()  
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      net.morimekta.providence.PMessageBuilder<CException> mutate()  
      java.lang.String toString()  
      java.util.Map<java.lang.Integer,​java.lang.Object> values()
      Method to access all values in the message.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface net.morimekta.providence.PMessage

        get, has, mergeWith
      • Methods inherited from interface net.morimekta.providence.PMessageOrBuilder

        toBuilder, toMessage
    • Method Detail

      • values

        public java.util.Map<java.lang.Integer,​java.lang.Object> values()
        Description copied from interface: CMessage
        Method to access all values in the message.
        Specified by:
        values in interface CMessage<CException>
        Returns:
        The values map.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable
      • mutate

        @Nonnull
        public net.morimekta.providence.PMessageBuilder<CException> mutate()
        Specified by:
        mutate in interface net.morimekta.providence.PMessage<CException>
      • descriptor

        @Nonnull
        public CExceptionDescriptor descriptor()
        Specified by:
        descriptor in interface net.morimekta.providence.PMessageOrBuilder<CException>
        Specified by:
        descriptor in interface net.morimekta.providence.PValue<CException>