org.openmdx.compatibility.base.dataprovider.cci
Class DataproviderExceptions

java.lang.Object
  extended by org.openmdx.compatibility.base.exception.CommonExceptionCodes
      extended by org.openmdx.compatibility.base.exception.CommonExceptions
          extended by org.openmdx.compatibility.base.dataprovider.cci.DataproviderExceptions

Deprecated. org.openmdx.base.exception.BasicException.Code fields

public class DataproviderExceptions
extends CommonExceptions

The CommonException class contains exceptions codes used in CORBA and non-CORBA environments.


Field Summary
static String DOMAIN
          Deprecated. org.openmdx.base.exception.BasicException.Code#DEFAULT_DOMAIN
static int INVALID_ATTRIBUTE
          Deprecated. org.openmdx.base.exception.BasicException.Code#BAD_MEMBER_NAME
static int NOT_A_REFERENCE
          Deprecated. without replacement
static int NOT_AN_OBJECT
          Deprecated. without replacement
static int TRANSIENT
          Deprecated. without replacement
 
Fields inherited from class org.openmdx.compatibility.base.exception.CommonExceptions
ACCESS_DENIED, ASSERTION, BAD_SELECTION_CRITERIA, CONFIGURATION, EXECUTION_FAILURE, MEDIA_ACCESS, OPTIMISTIC_LOCKING, QUOTA
 
Fields inherited from class org.openmdx.compatibility.base.exception.CommonExceptionCodes
ABORT, ACTIVATION_FAILURE, ASSERTION_FAILURE, AUTHORIZATION_FAILURE, BAD_MEMBER_NAME, BAD_PARAMETER, BAD_QUERY_CRITERIA, BAD_SEQUENCE_LENGTH, CONCURRENT_ACCESS_FAILURE, DATA_CONVERSION, DEACTIVATION_FAILURE, DUPLICATE, HEURISTIC, ILLEGAL_STATE, INTERNAL, INVALID_CONFIGURATION, MEDIA_ACCESS_FAILURE, NONE, NOT_AVAILABLE, NOT_FOUND, NOT_SUPPORTED, PROCESSING_FAILURE, QUOTA_EXCEEDED, ROLLBACK, TIMEOUT, TOO_LARGE_RESULT_SET, TOO_MANY_EVENT_LISTENERS
 
Constructor Summary
protected DataproviderExceptions()
          Deprecated.  
 
Method Summary
static int fromString(String code)
          Deprecated. Returns the code of the passed code's string representation.
static int max()
          Deprecated. Returns the biggest defined integer constant or Integer.MIN_VALUE if no integer constant is defined.
static int min()
          Deprecated. Returns the smallest defined integer constant or Integer.MAX_VALUE if no integer constant is defined.
static String toString(int code)
          Deprecated. Returns a string representation of the passed code
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOMAIN

public static final String DOMAIN
Deprecated. org.openmdx.base.exception.BasicException.Code#DEFAULT_DOMAIN
Dataprovider exception codes

See Also:
Constant Field Values

TRANSIENT

public static final int TRANSIENT
Deprecated. without replacement
Transient exception.

This exception code is deprecated without any replacement!

See Also:
Constant Field Values

INVALID_ATTRIBUTE

public static final int INVALID_ATTRIBUTE
Deprecated. org.openmdx.base.exception.BasicException.Code#BAD_MEMBER_NAME
See Also:
Constant Field Values

NOT_A_REFERENCE

public static final int NOT_A_REFERENCE
Deprecated. without replacement
See Also:
Constant Field Values

NOT_AN_OBJECT

public static final int NOT_AN_OBJECT
Deprecated. without replacement
See Also:
Constant Field Values
Constructor Detail

DataproviderExceptions

protected DataproviderExceptions()
Deprecated. 
Method Detail

min

public static int min()
Deprecated. 
Returns the smallest defined integer constant or Integer.MAX_VALUE if no integer constant is defined.

Returns:
an int

max

public static int max()
Deprecated. 
Returns the biggest defined integer constant or Integer.MIN_VALUE if no integer constant is defined.

Returns:
an int

toString

public static String toString(int code)
Deprecated. 
Returns a string representation of the passed code

Parameters:
code - a code to be stringified
Returns:
a stringified code

fromString

public static int fromString(String code)
Deprecated. 
Returns the code of the passed code's string representation. The string representation is case insensitive.

Parameters:
code - a stringified code
Returns:
a code
Throws:
throws - an IllegalArgumentException if the stringified code cannot be resolved


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.