public class PApplicationException extends IOException implements PMessage<PApplicationException,PApplicationException._Field>, PException, Comparable<PApplicationException>, BinaryWriter
| Modifier and Type | Class and Description |
|---|---|
static class |
PApplicationException._Builder
Base exception thrown on non-declared exceptions on a service call, and
other server-side service call issues.
|
static class |
PApplicationException._Field |
| Modifier and Type | Field and Description |
|---|---|
static PExceptionDescriptor<PApplicationException,PApplicationException._Field> |
kDescriptor |
| Constructor and Description |
|---|
PApplicationException(String pMessage,
PApplicationExceptionType pId) |
addSuppressed, getCause, getLocalizedMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic static final PExceptionDescriptor<PApplicationException,PApplicationException._Field> kDescriptor
public PApplicationException(String pMessage, PApplicationExceptionType pId)
public boolean hasMessage()
public String getMessage()
getMessage in class Throwablepublic boolean hasId()
public PApplicationExceptionType getId()
public boolean has(int key)
has in interface PMessage<PApplicationException,PApplicationException._Field>key - The key of the field.public int num(int key)
num in interface PMessage<PApplicationException,PApplicationException._Field>key - The key of the field.public Object get(int key)
get in interface PMessage<PApplicationException,PApplicationException._Field>key - The key of the field.public String origGetMessage()
PExceptionorigGetMessage in interface PExceptionpublic String origGetLocalizedMessage()
PExceptionorigGetLocalizedMessage in interface PExceptionpublic PApplicationException initCause(Throwable cause)
public PApplicationException fillInStackTrace()
fillInStackTrace in class Throwablepublic String asString()
PMessageasString in interface PMessage<PApplicationException,PApplicationException._Field>asString in interface net.morimekta.util.Stringablepublic int compareTo(PApplicationException other)
compareTo in interface Comparable<PApplicationException>public int writeBinary(net.morimekta.util.io.BigEndianBinaryWriter writer)
throws IOException
writeBinary in interface BinaryWriterIOException@Nonnull public PApplicationException._Builder mutate()
PMessagemutate in interface PMessage<PApplicationException,PApplicationException._Field>public static PExceptionDescriptorProvider<PApplicationException,PApplicationException._Field> provider()
public PExceptionDescriptor<PApplicationException,PApplicationException._Field> descriptor()
descriptor in interface PMessage<PApplicationException,PApplicationException._Field>descriptor in interface PValue<PApplicationException>public static PApplicationException._Builder builder()
Copyright © 2015–2017 morimekta.net. All rights reserved.