public class ServerConfiguration extends Object
HapiContext.getServerConfiguration()
Modifier and Type | Class and Description |
---|---|
static class |
ServerConfiguration.ApplicationExceptionPolicy |
Constructor and Description |
---|
ServerConfiguration() |
Modifier and Type | Method and Description |
---|---|
ServerConfiguration.ApplicationExceptionPolicy |
getApplicationExceptionPolicy() |
void |
setApplicationExceptionPolicy(ServerConfiguration.ApplicationExceptionPolicy applicationExceptionPolicy)
Sets the server behaviour when a
ReceivingApplication throws an exception while
processing a message. |
public ServerConfiguration()
public ServerConfiguration.ApplicationExceptionPolicy getApplicationExceptionPolicy()
public void setApplicationExceptionPolicy(ServerConfiguration.ApplicationExceptionPolicy applicationExceptionPolicy)
ReceivingApplication
throws an exception while
processing a message.
The default
behaviour is to invoke the
exception handler
if one has been
registered
with the server, and then return the ACK/NAK message it provides. If no exception handler has
been provided, HAPI will generate a NAK message using the default implementation and an
AE
acknowlegement code.
For other possible values
Copyright © 2001–2017 University Health Network. All rights reserved.