public class DoiServerException
extends org.restlet.resource.ResourceException
Constructor and Description |
---|
DoiServerException(org.restlet.Application app,
ClientMDS.DATACITE_API_RESPONSE error)
Creates an exception based on the app and the error coming from
Doi-server.
|
DoiServerException(org.restlet.Application app,
ClientMDS.DATACITE_API_RESPONSE error,
Exception ex)
Creates an exception based on the app and the error coming from
Doi-server.
|
DoiServerException(org.restlet.Application app,
ClientMDS.DATACITE_API_RESPONSE error,
String description)
Creates an exception based on the app and the error coming from
Doi-server.
|
DoiServerException(org.restlet.Application app,
ClientMDS.DATACITE_API_RESPONSE error,
String description,
Throwable cause)
Creates an exception based on the app and the error coming from
Doi-server.
|
DoiServerException(org.restlet.Application app,
DoiMdsApplication.API_MDS error)
Creates an exception based on the app and the error coming from
Doi-server.
|
DoiServerException(org.restlet.Application app,
DoiMdsApplication.API_MDS error,
Exception ex)
Creates an exception based on the app and the error coming from
Doi-server.
|
DoiServerException(org.restlet.Application app,
DoiMdsApplication.API_MDS error,
String description)
Creates an exception based on the app and the error coming from
Doi-server.
|
DoiServerException(org.restlet.Application app,
DoiMdsApplication.API_MDS error,
String description,
Throwable cause)
Creates an exception based on the app and the error coming from
Doi-server.
|
DoiServerException(org.restlet.Application app,
org.restlet.data.Status status,
String description)
Creates an exception based on the app and the error coming from
Doi-server.
|
DoiServerException(org.restlet.Application app,
org.restlet.data.Status status,
String description,
Throwable cause)
Creates an exception based on the app and the error coming from
Doi-server.
|
Modifier and Type | Method and Description |
---|---|
private void |
sendAlert(org.restlet.Application app)
Sends the alert to the administrator.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public DoiServerException(org.restlet.Application app, DoiMdsApplication.API_MDS error)
app
- MDS applicationerror
- MDS errorpublic DoiServerException(org.restlet.Application app, DoiMdsApplication.API_MDS error, Exception ex)
app
- MDS applicationerror
- MDS errorex
- Exceptionpublic DoiServerException(org.restlet.Application app, DoiMdsApplication.API_MDS error, String description)
app
- MDS applicationerror
- MDS errordescription
- Descriptionpublic DoiServerException(org.restlet.Application app, DoiMdsApplication.API_MDS error, String description, Throwable cause)
app
- MDS applicationerror
- MDS errordescription
- Descriptioncause
- Exceptionpublic DoiServerException(org.restlet.Application app, ClientMDS.DATACITE_API_RESPONSE error)
app
- MDS applicationerror
- Datacite errorpublic DoiServerException(org.restlet.Application app, ClientMDS.DATACITE_API_RESPONSE error, Exception ex)
app
- MDS applicationerror
- Datacite errorex
- Exceptionpublic DoiServerException(org.restlet.Application app, ClientMDS.DATACITE_API_RESPONSE error, String description)
app
- MDS applicationerror
- Datacite errordescription
- descriptionpublic DoiServerException(org.restlet.Application app, ClientMDS.DATACITE_API_RESPONSE error, String description, Throwable cause)
app
- MDS applicationerror
- Datacite errordescription
- descriptioncause
- Exceptionpublic DoiServerException(org.restlet.Application app, org.restlet.data.Status status, String description, Throwable cause)
app
- MDS applicationstatus
- Statusdescription
- descriptioncause
- Exceptionpublic DoiServerException(org.restlet.Application app, org.restlet.data.Status status, String description)
app
- MDS applicationstatus
- Statusdescription
- descriptionCopyright © 2017–2020 CNES. All rights reserved.