Class ZenodoError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.gcube.portlets.widgets.ckan2zenodopublisher.shared.ZenodoError
-
- All Implemented Interfaces:
Serializable
public class ZenodoError extends Exception
The Class ZenodoError.- Author:
- Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Feb 7, 2020
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ZenodoError()ZenodoError(String arg0)ZenodoError(String arg0, Throwable cause)ZenodoError(String arg0, Throwable arg1, boolean arg2, boolean arg3)ZenodoError(Throwable arg0)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetRemoteMessage()Gets the remote message.IntegergetResponseHTTPCode()Gets the response HTTP code.voidsetRemoteMessage(String remoteMessage)Sets the remote message.voidsetResponseHTTPCode(Integer responseHTTPCode)Sets the response HTTP code.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
setResponseHTTPCode
public void setResponseHTTPCode(Integer responseHTTPCode)
Sets the response HTTP code.- Parameters:
responseHTTPCode- the new response HTTP code
-
getResponseHTTPCode
public Integer getResponseHTTPCode()
Gets the response HTTP code.- Returns:
- the response HTTP code
-
getRemoteMessage
public String getRemoteMessage()
Gets the remote message.- Returns:
- the remote message
-
setRemoteMessage
public void setRemoteMessage(String remoteMessage)
Sets the remote message.- Parameters:
remoteMessage- the new remote message
-
-