Serializable
public class IssueException extends Exception
Modifier and Type | Field | Description |
---|---|---|
static String |
TYPE_CF_INVALID_LIST_OPTION |
|
static String |
TYPE_CF_PARSE_DATE |
|
static String |
TYPE_CF_PARSE_NUM |
|
static String |
TYPE_CF_REQ_FIELD |
|
static String |
TYPE_UNKNOWN |
Constructor | Description |
---|---|
IssueException() |
Creates a new IssueException of unknown type.
|
IssueException(String message) |
Creates a new IssueException of unknown type with a default message.
|
IssueException(String message,
String type) |
Creates a new IssueException of specified type with a default message.
|
IssueException(String message,
String type,
Throwable cause) |
Creates a new IssueException of specified type with a default message.
|
IssueException(String message,
Throwable cause) |
Creates a new IssueException of unknown type with a default message.
|
Modifier and Type | Method | Description |
---|---|---|
String |
getType() |
Returns the exception type which can be used to format a localized
error message.
|
void |
setType(String value) |
Sets the issue exception type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final String TYPE_UNKNOWN
public static final String TYPE_CF_INVALID_LIST_OPTION
public static final String TYPE_CF_PARSE_NUM
public static final String TYPE_CF_PARSE_DATE
public static final String TYPE_CF_REQ_FIELD
public IssueException()
public IssueException(String message)
message
- the exception error messagepublic IssueException(String message, Throwable cause)
message
- the exception error messagepublic IssueException(String message, String type)
message
- the exception error messagetype
- the exception type represented by a resource bundle keypublic String getType()
public void setType(String value)
value
- a String code representing the type of issue exception
that occured.Copyright © 2002–2019 itracker. All rights reserved.