Class DataCiteException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.reference.datacite.DataCiteException
-
- All Implemented Interfaces:
java.io.Serializable
public class DataCiteException extends java.lang.Exception
Exception class to describe problems with the DataCite client.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataCiteException(java.lang.String message)
Constructor for DataCiteException.DataCiteException(java.lang.String message, java.lang.Throwable cause)
Constructor for DataCiteException.DataCiteException(java.lang.Throwable cause)
Constructor for DataCiteException.DataCiteException(javax.ws.rs.core.Response.Status status)
Constructor for DataCiteException.
-
Method Summary
Modifier and Type Method Description javax.ws.rs.core.Response.Status
getStatus()
Get the status of theDataCiteException
-
-
-
Constructor Detail
-
DataCiteException
public DataCiteException(javax.ws.rs.core.Response.Status status)
Constructor for DataCiteException.- Parameters:
status
- aResponse.Status
object.
-
DataCiteException
public DataCiteException(java.lang.String message)
Constructor for DataCiteException.- Parameters:
message
- aString
object.
-
DataCiteException
public DataCiteException(java.lang.String message, java.lang.Throwable cause)
Constructor for DataCiteException.- Parameters:
message
- aString
object.cause
- aThrowable
object.
-
DataCiteException
public DataCiteException(java.lang.Throwable cause)
Constructor for DataCiteException.- Parameters:
cause
- aThrowable
object.
-
-
Method Detail
-
getStatus
public final javax.ws.rs.core.Response.Status getStatus()
Get the status of theDataCiteException
- Returns:
- the _status
-
-