| Package | Description |
|---|---|
| org.marketcetera.util.except |
Nested exception framework with internationalization (i18n) and
thread interruption support.
|
| org.marketcetera.util.log |
Multi-tiered logging and internationalization (i18n) framework.
|
| org.marketcetera.util.ws.tags |
Tags used to identify aspects of web services, and filters for
those tags.
|
| org.marketcetera.util.ws.wrappers |
Wrappers enabling certain web service data types to be
marshalled.
|
| Modifier and Type | Method and Description |
|---|---|
I18NBoundMessage |
I18NThrowable.getI18NBoundMessage()
Returns the receiver's message.
|
I18NBoundMessage |
I18NRuntimeException.getI18NBoundMessage() |
I18NBoundMessage |
I18NException.getI18NBoundMessage() |
I18NBoundMessage |
I18NError.getI18NBoundMessage() |
| Modifier and Type | Method and Description |
|---|---|
static void |
I18NInterruptedRuntimeException.checkInterruption(I18NBoundMessage message)
Checks whether the calling thread has been interrupted, and, if
so, throws an exception built using the associated
constructor.
|
static void |
I18NInterruptedException.checkInterruption(I18NBoundMessage message)
Checks whether the calling thread has been interrupted, and, if
so, throws an exception built using the associated
constructor.
|
static void |
I18NInterruptedRuntimeException.checkInterruption(Throwable cause,
I18NBoundMessage message)
Checks whether the calling thread has been interrupted, and, if
so, throws an exception built using the associated
constructor.
|
static void |
I18NInterruptedException.checkInterruption(Throwable cause,
I18NBoundMessage message)
Checks whether the calling thread has been interrupted, and, if
so, throws an exception built using the associated
constructor.
|
static boolean |
ExceptUtils.swallow(Throwable throwable,
Object category,
I18NBoundMessage message)
Swallows the given throwable.
|
static I18NException |
ExceptUtils.wrap(Throwable throwable,
I18NBoundMessage message)
If the given throwable is an interruption exception per
ExceptUtils.isInterruptException(Throwable), then the throwable is
wrapped inside a I18NInterruptedException, and this
exception is returned; also, the calling thread is
interrupted. |
static I18NRuntimeException |
ExceptUtils.wrapRuntime(Throwable throwable,
I18NBoundMessage message)
If the given throwable is an interruption exception per
ExceptUtils.isInterruptException(Throwable), then the throwable is
wrapped inside a I18NInterruptedRuntimeException, and
this exception is thrown; also, the calling thread is
interrupted. |
| Constructor and Description |
|---|
I18NError(I18NBoundMessage message)
Constructs a new throwable with the given message, but without
an underlying cause.
|
I18NError(Throwable cause,
I18NBoundMessage message)
Constructs a new throwable with the given message and
underlying cause.
|
I18NException(I18NBoundMessage message)
Constructs a new throwable with the given message, but without
an underlying cause.
|
I18NException(Throwable cause,
I18NBoundMessage message)
Constructs a new throwable with the given message and
underlying cause.
|
I18NInterruptedException(I18NBoundMessage message)
Constructs a new throwable with the given message, but without
an underlying cause.
|
I18NInterruptedException(Throwable cause,
I18NBoundMessage message)
Constructs a new throwable with the given message and
underlying cause.
|
I18NInterruptedRuntimeException(I18NBoundMessage message)
Constructs a new throwable with the given message, but without
an underlying cause.
|
I18NInterruptedRuntimeException(Throwable cause,
I18NBoundMessage message)
Constructs a new throwable with the given message and
underlying cause.
|
I18NRuntimeException(I18NBoundMessage message)
Constructs a new throwable with the given message, but without
an underlying cause.
|
I18NRuntimeException(Throwable cause,
I18NBoundMessage message)
Constructs a new throwable with the given message and
underlying cause.
|
| Modifier and Type | Class and Description |
|---|---|
class |
I18NBoundMessage0P
A bound message, representing a
I18NMessage0P. |
class |
I18NBoundMessage1P
A bound message, representing the combination of an
I18NMessage1P and its one parameter. |
class |
I18NBoundMessage2P
A bound message, representing the combination of an
I18NMessage2P and its two parameters. |
class |
I18NBoundMessage3P
A bound message, representing the combination of an
I18NMessage3P and its three parameters. |
class |
I18NBoundMessage4P
A bound message, representing the combination of an
I18NMessage4P and its four parameters. |
class |
I18NBoundMessage5P
A bound message, representing the combination of an
I18NMessage5P and its five parameters. |
class |
I18NBoundMessage6P
A bound message, representing the combination of an
I18NMessage6P and its six parameters. |
class |
I18NBoundMessageBase<T extends I18NMessage>
A bound message implementation, representing the combination of an
I18NMessage and its parameters, if any. |
class |
I18NBoundMessageNP
A bound message, representing the combination of an
I18NMessageNP and its arbitrary number of parameters. |
class |
I18NMessage0P
An internationalized message, requiring exactly zero parameters.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
LogUtils.getSimpleMessage(I18NBoundMessage message)
Returns a simplified textual representation of the
parameterized message.
|
| Modifier and Type | Method and Description |
|---|---|
I18NBoundMessage |
NonNullTagFilter.getMessage()
Returns the message for the exception thrown when the receiver
filter rejects a tag.
|
| Constructor and Description |
|---|
NonNullTagFilter(I18NBoundMessage message)
Creates a new filter with the given mismatch message.
|
| Modifier and Type | Method and Description |
|---|---|
SerWrapper<I18NBoundMessage> |
RemoteI18NBoundMessage.getWrapper()
Returns the receiver's message (wrapper).
|
| Modifier and Type | Method and Description |
|---|---|
void |
RemoteI18NBoundMessage.setWrapper(SerWrapper<I18NBoundMessage> wrapper)
Sets the receiver's message (wrapper) to the given one.
|
| Constructor and Description |
|---|
RemoteI18NBoundMessage(I18NBoundMessage message)
Creates a new message wrapper that wraps the given message.
|
Copyright © 2015. All Rights Reserved.