org.openmdx.compatibility.base.exception
Class CommonExceptions

java.lang.Object
  extended by org.openmdx.compatibility.base.exception.CommonExceptionCodes
      extended by org.openmdx.compatibility.base.exception.CommonExceptions
Direct Known Subclasses:
DataproviderExceptions

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

public class CommonExceptions
extends CommonExceptionCodes

Alias can't refer to superclass!


Field Summary
static int ACCESS_DENIED
          Deprecated. org.openmdx.base.exception.BasicException.Code#AUTHORIZATION_FAILURE
static int ASSERTION
          Deprecated. org.openmdx.base.exception.BasicException.Code#ASSERTION_FAILURE
static int BAD_SELECTION_CRITERIA
          Deprecated. org.openmdx.base.exception.BasicException.Code#BAD_QUERY_CRITERIA
static int CONFIGURATION
          Deprecated. org.openmdx.base.exception.BasicException.Code#INVALID_CONFIGURATION
static String DOMAIN
          Deprecated. org.openmdx.base.exception.BasicException.Code#DEFAULT_DOMAIN
static int EXECUTION_FAILURE
          Deprecated. org.openmdx.base.exception.BasicException.Code#PROCESSING_FAILURE
static int MEDIA_ACCESS
          Deprecated. org.openmdx.base.exception.BasicException.Code#MEDIA_ACCESS_FAILURE
static int OPTIMISTIC_LOCKING
          Deprecated. org.openmdx.base.exception.BasicException.Code#CONCURRENT_ACCESS_FAILURE
static int QUOTA
          Deprecated. org.openmdx.base.exception.BasicException.Code#QUOTA_EXCEEDED
 
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 CommonExceptions()
          Deprecated.  
 
Method Summary
static int fromString(String code)
          Deprecated. org.openmdx.base.exception.BasicException.Code#toValue(String)
static int max()
          Deprecated.  
static int min()
          Deprecated.  
static String toString(int code)
          Deprecated. org.openmdx.base.exception.BasicException.Code#toString(int)
 
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
Common exception codes

See Also:
Constant Field Values

EXECUTION_FAILURE

public static final int EXECUTION_FAILURE
Deprecated. org.openmdx.base.exception.BasicException.Code#PROCESSING_FAILURE
See Also:
CommonExceptionCodes.PROCESSING_FAILURE, Constant Field Values

ASSERTION

public static final int ASSERTION
Deprecated. org.openmdx.base.exception.BasicException.Code#ASSERTION_FAILURE
See Also:
CommonExceptionCodes.ASSERTION_FAILURE, Constant Field Values

CONFIGURATION

public static final int CONFIGURATION
Deprecated. org.openmdx.base.exception.BasicException.Code#INVALID_CONFIGURATION
See Also:
CommonExceptionCodes.INVALID_CONFIGURATION, Constant Field Values

ACCESS_DENIED

public static final int ACCESS_DENIED
Deprecated. org.openmdx.base.exception.BasicException.Code#AUTHORIZATION_FAILURE
See Also:
CommonExceptionCodes.AUTHORIZATION_FAILURE, Constant Field Values

MEDIA_ACCESS

public static final int MEDIA_ACCESS
Deprecated. org.openmdx.base.exception.BasicException.Code#MEDIA_ACCESS_FAILURE
See Also:
CommonExceptionCodes.MEDIA_ACCESS_FAILURE, Constant Field Values

QUOTA

public static final int QUOTA
Deprecated. org.openmdx.base.exception.BasicException.Code#QUOTA_EXCEEDED
See Also:
CommonExceptionCodes.QUOTA_EXCEEDED, Constant Field Values

BAD_SELECTION_CRITERIA

public static final int BAD_SELECTION_CRITERIA
Deprecated. org.openmdx.base.exception.BasicException.Code#BAD_QUERY_CRITERIA
See Also:
CommonExceptionCodes.BAD_QUERY_CRITERIA, Constant Field Values

OPTIMISTIC_LOCKING

public static final int OPTIMISTIC_LOCKING
Deprecated. org.openmdx.base.exception.BasicException.Code#CONCURRENT_ACCESS_FAILURE
See Also:
CommonExceptionCodes.CONCURRENT_ACCESS_FAILURE, Constant Field Values
Constructor Detail

CommonExceptions

protected CommonExceptions()
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. org.openmdx.base.exception.BasicException.Code#toString(int)

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. org.openmdx.base.exception.BasicException.Code#toValue(String)

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.