public class ApplicationException extends PException implements PMessage<ApplicationException,ApplicationException._Field>, 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, origGetMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public static final PExceptionDescriptor<ApplicationException,ApplicationException._Field> kDescriptor
public ApplicationException(String pMessage, ApplicationExceptionType pId)
public boolean hasMessage()
public String getMessage()
getMessage
in class Throwable
public boolean hasId()
public ApplicationExceptionType getId()
public boolean has(int key)
has
in interface PMessage<ApplicationException,ApplicationException._Field>
key
- The key of the field.public int num(int key)
num
in interface PMessage<ApplicationException,ApplicationException._Field>
key
- The key of the field.public Object get(int key)
get
in interface PMessage<ApplicationException,ApplicationException._Field>
key
- The key of the field.public boolean compact()
compact
in interface PMessage<ApplicationException,ApplicationException._Field>
public String asString()
PMessage
asString
in interface PMessage<ApplicationException,ApplicationException._Field>
asString
in interface net.morimekta.util.Stringable
public 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,ApplicationException._Field>
descriptor
in interface PValue<ApplicationException>
public ApplicationException._Builder mutate()
PMessage
mutate
in interface PMessage<ApplicationException,ApplicationException._Field>
public static ApplicationException._Builder builder()
Copyright © 2015–2016 morimekta.net. All rights reserved.