be.ehealth.businessconnector.civics.exception
Enum CivicsBusinessConnectorExceptionValues

java.lang.Object
  extended by java.lang.Enum<CivicsBusinessConnectorExceptionValues>
      extended by be.ehealth.businessconnector.civics.exception.CivicsBusinessConnectorExceptionValues
All Implemented Interfaces:
Serializable, Comparable<CivicsBusinessConnectorExceptionValues>

public enum CivicsBusinessConnectorExceptionValues
extends Enum<CivicsBusinessConnectorExceptionValues>

Enumeration for all possible Civics business exceptions


Enum Constant Summary
ERROR_NOSESSIONFOUND
          No session found
MALFORMED_URL
          Invalid url to {0} file
TARGET_SERVICE_ERROR
          TargetService error description: {0}
 
Method Summary
 String getErrorCode()
           
 String getMessage()
           
static CivicsBusinessConnectorExceptionValues valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CivicsBusinessConnectorExceptionValues[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MALFORMED_URL

public static final CivicsBusinessConnectorExceptionValues MALFORMED_URL
Invalid url to {0} file


TARGET_SERVICE_ERROR

public static final CivicsBusinessConnectorExceptionValues TARGET_SERVICE_ERROR
TargetService error description: {0}


ERROR_NOSESSIONFOUND

public static final CivicsBusinessConnectorExceptionValues ERROR_NOSESSIONFOUND
No session found

Method Detail

values

public static CivicsBusinessConnectorExceptionValues[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CivicsBusinessConnectorExceptionValues c : CivicsBusinessConnectorExceptionValues.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CivicsBusinessConnectorExceptionValues valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getErrorCode

public String getErrorCode()
Returns:
the errorCode

getMessage

public String getMessage()
Returns:
the errorMessage



Connector Packaging PERSPHYSICIAN 3.10.2 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.