@Generated(value="net.morimekta.providence:providence-generator-java", comments="java:serializable") @Immutable public class ProvidenceHttpError extends Exception implements ProvidenceHttpError_OrBuilder, net.morimekta.providence.PMessage<ProvidenceHttpError>, net.morimekta.providence.PException, Comparable<ProvidenceHttpError>, net.morimekta.providence.serializer.binary.BinaryWriter
| Modifier and Type | Class and Description |
|---|---|
static class |
ProvidenceHttpError._Builder |
static class |
ProvidenceHttpError._Field |
| Modifier and Type | Field and Description |
|---|---|
static net.morimekta.providence.descriptor.PExceptionDescriptor<ProvidenceHttpError> |
kDescriptor |
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
static ProvidenceHttpError._Builder |
builder()
Make a
p_http.ProvidenceHttpError builder. |
int |
compareTo(ProvidenceHttpError other) |
net.morimekta.providence.descriptor.PExceptionDescriptor<ProvidenceHttpError> |
descriptor() |
boolean |
equals(Object o) |
ProvidenceHttpError |
fillInStackTrace() |
<T> T |
get(int key) |
String |
getMessage() |
int |
getStatusCode() |
boolean |
has(int key) |
int |
hashCode() |
boolean |
hasMessage() |
boolean |
hasStatusCode() |
ProvidenceHttpError |
initCause(Throwable cause) |
ProvidenceHttpError._Builder |
mutate() |
Optional<String> |
optionalMessage() |
Optional<Integer> |
optionalStatusCode() |
String |
origGetLocalizedMessage() |
String |
origGetMessage() |
static net.morimekta.providence.descriptor.PExceptionDescriptorProvider<ProvidenceHttpError> |
provider() |
String |
toString() |
int |
writeBinary(net.morimekta.util.io.BigEndianBinaryWriter writer) |
addSuppressed, getCause, getLocalizedMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic static final net.morimekta.providence.descriptor.PExceptionDescriptor<ProvidenceHttpError> kDescriptor
public boolean hasMessage()
hasMessage in interface ProvidenceHttpError_OrBuilderpublic String getMessage()
getMessage in interface ProvidenceHttpError_OrBuildergetMessage in class Throwablemessage value@Nonnull public Optional<String> optionalMessage()
optionalMessage in interface ProvidenceHttpError_OrBuildermessage field value.public boolean hasStatusCode()
hasStatusCode in interface ProvidenceHttpError_OrBuilderpublic int getStatusCode()
getStatusCode in interface ProvidenceHttpError_OrBuilderstatus_code value@Nonnull public Optional<Integer> optionalStatusCode()
optionalStatusCode in interface ProvidenceHttpError_OrBuilderstatus_code field value.public boolean has(int key)
has in interface net.morimekta.providence.PMessageOrBuilder<ProvidenceHttpError>public <T> T get(int key)
get in interface net.morimekta.providence.PMessageOrBuilder<ProvidenceHttpError>public String origGetMessage()
origGetMessage in interface net.morimekta.providence.PExceptionpublic String origGetLocalizedMessage()
origGetLocalizedMessage in interface net.morimekta.providence.PExceptionpublic ProvidenceHttpError initCause(Throwable cause)
public ProvidenceHttpError fillInStackTrace()
fillInStackTrace in class Throwable@Nonnull public String asString()
asString in interface net.morimekta.providence.PMessage<ProvidenceHttpError>asString in interface net.morimekta.util.Stringablepublic int compareTo(ProvidenceHttpError other)
compareTo in interface Comparable<ProvidenceHttpError>public int writeBinary(net.morimekta.util.io.BigEndianBinaryWriter writer)
throws IOException
writeBinary in interface net.morimekta.providence.serializer.binary.BinaryWriterIOException@Nonnull public ProvidenceHttpError._Builder mutate()
mutate in interface net.morimekta.providence.PMessage<ProvidenceHttpError>@Nonnull public static net.morimekta.providence.descriptor.PExceptionDescriptorProvider<ProvidenceHttpError> provider()
@Nonnull public net.morimekta.providence.descriptor.PExceptionDescriptor<ProvidenceHttpError> descriptor()
descriptor in interface net.morimekta.providence.PMessageOrBuilder<ProvidenceHttpError>descriptor in interface net.morimekta.providence.PValue<ProvidenceHttpError>public static ProvidenceHttpError._Builder builder()
p_http.ProvidenceHttpError builder.Copyright © 2015–2020 morimekta.net. All rights reserved.