|
||||||||||
| 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.itracker.services.exceptions.IssueException
public class IssueException
This class is used to represent a variety of execptions that can occur while processing issues.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public IssueException()
public IssueException(String message)
message - the exception error message
public IssueException(String message,
Throwable cause)
message - the exception error message
public IssueException(String message,
String type)
message - the exception error messagetype - the exception type represented by a resource bundle key
public IssueException(String message,
String type,
Throwable cause)
message - the exception error messagetype - the exception type represented by a resource bundle key| Method Detail |
|---|
public String getType()
public void setType(String value)
value - a String code representing the type of issue exception
that occured.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||