org.purl.sword.base
Interface ErrorCodes


public interface ErrorCodes

Definition of the error codes that will be used in the SWORD protocol (in X-Error-Code).

Author:
Stuart Lewis

Field Summary
static String ERROR_BAD_REQUEST
          ErrorBadRequest - where parameters are not understood
static String ERROR_CHECKSUM_MISMATCH
          ErrorChecksumMismatch - where the checksum of the file recevied does not match the checksum given in the header
static String ERROR_CONTENT
          ErrorContent - where the supplied format is not the same as that identified in the X-Format-Namespace and/or that supported by the server
static String MEDIATION_NOT_ALLOWED
          MediationNotAllowed - where a client has attempted a mediated deposit, but this is not supported by the server
static String TARGET_OWNER_UKNOWN
          TargetOwnerUnknown - where the server cannot identify the specified TargetOwner
 

Field Detail

ERROR_CONTENT

static final String ERROR_CONTENT
ErrorContent - where the supplied format is not the same as that identified in the X-Format-Namespace and/or that supported by the server

See Also:
Constant Field Values

ERROR_CHECKSUM_MISMATCH

static final String ERROR_CHECKSUM_MISMATCH
ErrorChecksumMismatch - where the checksum of the file recevied does not match the checksum given in the header

See Also:
Constant Field Values

ERROR_BAD_REQUEST

static final String ERROR_BAD_REQUEST
ErrorBadRequest - where parameters are not understood

See Also:
Constant Field Values

TARGET_OWNER_UKNOWN

static final String TARGET_OWNER_UKNOWN
TargetOwnerUnknown - where the server cannot identify the specified TargetOwner

See Also:
Constant Field Values

MEDIATION_NOT_ALLOWED

static final String MEDIATION_NOT_ALLOWED
MediationNotAllowed - where a client has attempted a mediated deposit, but this is not supported by the server

See Also:
Constant Field Values


Copyright © 2008 The DSpace Foundation. All Rights Reserved.