Class CException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.morimekta.providence.reflect.contained.CException
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CException>,net.morimekta.providence.PMessage<CException,CField>,net.morimekta.providence.PValue<CException>,CMessage<CException>,net.morimekta.util.Stringable
public class CException extends java.lang.Exception implements CMessage<CException>
- Since:
- 07.09.15
- Author:
- Stein Eldar Johnsen
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCException.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CExceptionDescriptordescriptor()booleanequals(java.lang.Object o)inthashCode()net.morimekta.providence.PMessageBuilder<CException,CField>mutate()java.lang.StringtoString()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
-
-
-
-
Method Detail
-
values
public java.util.Map<java.lang.Integer,java.lang.Object> values()
Description copied from interface:CMessageMethod to access all values in the message.- Specified by:
valuesin interfaceCMessage<CException>- Returns:
- The values map.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Throwable
-
mutate
@Nonnull public net.morimekta.providence.PMessageBuilder<CException,CField> mutate()
- Specified by:
mutatein interfacenet.morimekta.providence.PMessage<CException,CField>
-
descriptor
@Nonnull public CExceptionDescriptor descriptor()
- Specified by:
descriptorin interfacenet.morimekta.providence.PMessage<CException,CField>- Specified by:
descriptorin interfacenet.morimekta.providence.PValue<CException>
-
-