public class NoSuchCoreException
extends java.lang.Exception
The exception stores information of which core number caused it.
Modifier and Type | Field | Description |
---|---|---|
protected int |
coreIndex |
|
static long |
serialVersionUID |
Constructor | Description |
---|---|
NoSuchCoreException(int coreIndex) |
Constructs a
NoSuchCoreException for the given core index. |
NoSuchCoreException(int coreIndex,
java.lang.String message) |
Constructs a
NoSuchCoreException for the given core index, and
detailed exception message. |
NoSuchCoreException(int coreIndex,
java.lang.String message,
java.lang.Throwable throwable) |
Constructs a
NoSuchCoreException for the given core index,
detailed message and parent exception. |
NoSuchCoreException(int coreIndex,
java.lang.Throwable throwable) |
Constructs a
NoSuchCoreException for the given core index, and
parent exception. |
Modifier and Type | Method | Description |
---|---|---|
int |
getCoreIndex() |
Retrieves the core index associated to this exception.
|
public static final long serialVersionUID
protected int coreIndex
public NoSuchCoreException(int coreIndex)
NoSuchCoreException
for the given core index.coreIndex
- Index of the core that threw the exception.public NoSuchCoreException(int coreIndex, java.lang.String message)
NoSuchCoreException
for the given core index, and
detailed exception message.coreIndex
- Index of the core that threw the exception.message
- Additional message for the exception.public NoSuchCoreException(int coreIndex, java.lang.Throwable throwable)
NoSuchCoreException
for the given core index, and
parent exception.coreIndex
- Index of the core that threw the exception.throwable
- Parent exception.public NoSuchCoreException(int coreIndex, java.lang.String message, java.lang.Throwable throwable)
NoSuchCoreException
for the given core index,
detailed message and parent exception.coreIndex
- Index of the core that threw the exception.message
- Additional message for the exception.throwable
- Parent exception.