Class 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 the DataCiteException
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DataCiteException

        public DataCiteException​(javax.ws.rs.core.Response.Status status)
        Constructor for DataCiteException.
        Parameters:
        status - a Response.Status object.
      • DataCiteException

        public DataCiteException​(java.lang.String message)
        Constructor for DataCiteException.
        Parameters:
        message - a String object.
      • DataCiteException

        public DataCiteException​(java.lang.String message,
                                 java.lang.Throwable cause)
        Constructor for DataCiteException.
        Parameters:
        message - a String object.
        cause - a Throwable object.
      • DataCiteException

        public DataCiteException​(java.lang.Throwable cause)
        Constructor for DataCiteException.
        Parameters:
        cause - a Throwable object.
    • Method Detail

      • getStatus

        public final javax.ws.rs.core.Response.Status getStatus()
        Get the status of the DataCiteException
        Returns:
        the _status