public class I18NInterruptedException extends I18NException
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
equals, getDetail, getI18NBoundMessage, getLocalizedDetail, getLocalizedMessage, hashCodeaddSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCause, getMessagepublic 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.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.Copyright © 2015. All Rights Reserved.