|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.sourceforge.rssowl.dao.NewsfeedFactoryException
public class NewsfeedFactoryException
Custom exception that occurs if there was an error while parsing a RSS XML and creating the Channel
| Field Summary | |
|---|---|
static int |
ERROR_AUTH_REQUIRED
Status Codes: 401 Unauthorized |
static int |
ERROR_FILE_NOT_FOUND
Status Codes: 4xx except for 401 |
static int |
ERROR_INVALID_NEWSFEED
File is not a valid XML document |
static int |
ERROR_INVALID_XML
File is not a valid Newsfeed |
static int |
ERROR_WORKING_OFFLINE
RSSOwl is in offline mode |
private java.lang.String |
httpStatus
|
private java.lang.String |
msg
|
private java.lang.String |
reason
|
(package private) static long |
serialVersionUID
Unique serialVersionUID for serialization |
private java.lang.String |
title
|
private int |
type
|
private java.lang.String |
url
|
| Constructor Summary | |
|---|---|
NewsfeedFactoryException(java.lang.String url,
java.lang.String reason,
java.lang.String httpStatus,
int type)
Instantiate a new NewsfeedFactoryException |
|
| Method Summary | |
|---|---|
java.lang.String |
getHttpStatus()
Get the HTTP Status |
java.lang.String |
getMessage()
|
java.lang.String |
getMsg()
Get the error message |
java.lang.String |
getReason()
Get the error reason in dependance of the given error type |
java.lang.String |
getTitle()
Get the Title of the loading Newsfeed |
java.lang.String |
getUrl()
Get the URL of the loading Newsfeed |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, 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 int ERROR_AUTH_REQUIRED
public static final int ERROR_FILE_NOT_FOUND
public static final int ERROR_INVALID_NEWSFEED
public static final int ERROR_INVALID_XML
public static final int ERROR_WORKING_OFFLINE
static final long serialVersionUID
private java.lang.String httpStatus
private java.lang.String msg
private java.lang.String reason
private java.lang.String title
private int type
private java.lang.String url
| Constructor Detail |
|---|
public NewsfeedFactoryException(java.lang.String url,
java.lang.String reason,
java.lang.String httpStatus,
int type)
url - URL of the loading Newsfeedreason - Additional info about the ExceptionhttpStatus - The HTTP status of the connectiontype - The type of the error| Method Detail |
|---|
public java.lang.String getHttpStatus()
public java.lang.String getMessage()
getMessage in class java.lang.ThrowableThrowable.getMessage()public java.lang.String getMsg()
public java.lang.String getReason()
public java.lang.String getTitle()
public java.lang.String getUrl()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||