|
|||||||||||
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
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 String |
httpStatus
|
private String |
msg
|
private String |
reason
|
(package private) static long |
serialVersionUID
Unique serialVersionUID for serialization |
private String |
title
|
private int |
type
|
private String |
url
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary | |
NewsfeedFactoryException(String url,
String reason,
String httpStatus,
int type)
Instantiate a new NewsfeedFactoryException |
Method Summary | |
String |
getHttpStatus()
Get the HTTP Status |
String |
getMessage()
|
String |
getMsg()
Get the error message |
String |
getReason()
Get the error reason in dependance of the given error type |
String |
getTitle()
Get the Title of the loading Newsfeed |
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 String httpStatus
private String msg
private String reason
private String title
private int type
private String url
Constructor Detail |
public NewsfeedFactoryException(String url, String reason, 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 errorMethod Detail |
public String getHttpStatus()
public String getMessage()
Throwable.getMessage()
public String getMsg()
public String getReason()
public String getTitle()
public String getUrl()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |