|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.marketcetera.util.except.I18NException
org.marketcetera.util.except.I18NInterruptedException
public class I18NInterruptedException
An internationalized exception indicating interruption.
| Constructor Summary | |
|---|---|
I18NInterruptedException()
Constructs a new throwable with the default interruption message and no underlying cause. |
|
I18NInterruptedException(I18NBoundMessage message)
Constructs a new throwable with the given message, but without an underlying cause. |
|
I18NInterruptedException(Throwable cause)
Constructs a new throwable with the default interruption message and the given underlying cause. |
|
I18NInterruptedException(Throwable cause,
I18NBoundMessage message)
Constructs a new throwable with the given message and underlying cause. |
|
| Method Summary | |
|---|---|
static void |
checkInterruption()
Checks whether the calling thread has been interrupted, and, if so, throws an exception built using the associated constructor. |
static void |
checkInterruption(I18NBoundMessage message)
Checks whether the calling thread has been interrupted, and, if so, throws an exception built using the associated constructor. |
static void |
checkInterruption(Throwable cause)
Checks whether the calling thread has been interrupted, and, if so, throws an exception built using the associated constructor. |
static void |
checkInterruption(Throwable cause,
I18NBoundMessage message)
Checks whether the calling thread has been interrupted, and, if so, throws an exception built using the associated constructor. |
| Methods inherited from class org.marketcetera.util.except.I18NException |
|---|
equals, getDetail, getI18NBoundMessage, getLocalizedDetail, getLocalizedMessage, hashCode |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.marketcetera.util.except.I18NThrowable |
|---|
getCause, getMessage |
| Constructor Detail |
|---|
public I18NInterruptedException()
public I18NInterruptedException(Throwable cause)
cause - The cause.public I18NInterruptedException(I18NBoundMessage message)
message - The message.
public I18NInterruptedException(Throwable cause,
I18NBoundMessage message)
cause - The cause.message - The message.| Method Detail |
|---|
public static void checkInterruption()
throws I18NInterruptedException
I18NInterruptedException - Thrown if the calling thread
was interrupted.
public static void checkInterruption(Throwable cause)
throws I18NInterruptedException
cause - The cause.
I18NInterruptedException - Thrown if the calling thread
was interrupted.
public static void checkInterruption(I18NBoundMessage message)
throws I18NInterruptedException
message - The message.
I18NInterruptedException - Thrown if the calling thread
was interrupted.
public static void checkInterruption(Throwable cause,
I18NBoundMessage message)
throws I18NInterruptedException
cause - The cause.message - The message.
I18NInterruptedException - Thrown if the calling thread
was interrupted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||