public class ApplicationException extends PException implements PMessage<ApplicationException>, Serializable, Comparable<ApplicationException>
| Modifier and Type | Class and Description |
|---|---|
static class |
ApplicationException._Builder |
static class |
ApplicationException._Field |
| Modifier and Type | Field and Description |
|---|---|
static PExceptionDescriptor<ApplicationException,ApplicationException._Field> |
kDescriptor |
| Constructor and Description |
|---|
ApplicationException(String pMessage,
ApplicationExceptionType pId) |
| Modifier and Type | Method and Description |
|---|---|
String |
asString()
Pure string representation of content.
|
static ApplicationException._Builder |
builder()
Make a service.ApplicationException builder.
|
boolean |
compact() |
int |
compareTo(ApplicationException other) |
PExceptionDescriptor<ApplicationException,ApplicationException._Field> |
descriptor() |
boolean |
equals(Object o) |
Object |
get(int key) |
ApplicationExceptionType |
getId() |
String |
getMessage() |
boolean |
has(int key) |
int |
hashCode() |
boolean |
hasId() |
boolean |
hasMessage() |
ApplicationException._Builder |
mutate()
Get a builder that extends the current object.
|
int |
num(int key) |
static PExceptionDescriptorProvider<ApplicationException,ApplicationException._Field> |
provider() |
String |
toString() |
origGetLocalizedMessage, origGetMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic static final PExceptionDescriptor<ApplicationException,ApplicationException._Field> kDescriptor
public ApplicationException(String pMessage, ApplicationExceptionType pId)
public boolean hasMessage()
public String getMessage()
getMessage in class Throwablepublic boolean hasId()
public ApplicationExceptionType getId()
public boolean has(int key)
has in interface PMessage<ApplicationException>key - The key of the field.public int num(int key)
num in interface PMessage<ApplicationException>key - The key of the field.public Object get(int key)
get in interface PMessage<ApplicationException>key - The key of the field.public boolean compact()
compact in interface PMessage<ApplicationException>public String asString()
PMessageasString in interface PMessage<ApplicationException>asString in interface net.morimekta.util.Stringablepublic int compareTo(ApplicationException other)
compareTo in interface Comparable<ApplicationException>public static PExceptionDescriptorProvider<ApplicationException,ApplicationException._Field> provider()
public PExceptionDescriptor<ApplicationException,ApplicationException._Field> descriptor()
descriptor in interface PMessage<ApplicationException>descriptor in interface PValue<ApplicationException>public ApplicationException._Builder mutate()
PMessagemutate in interface PMessage<ApplicationException>public static ApplicationException._Builder builder()
Copyright © 2016. All rights reserved.