org.glassfish.gmbal.impl
Interface Exceptions


Exception wrapper class.  The logex WrapperGenerator uses this interface
 to generate an implementation which returns the appropriate exception, and
 generates a log report when the method is called.  This is used for all
 implementation classes in this package.

 The exception IDs are allocated in blocks of EXCEPTIONS_PER_CLASS, which is
 a lot more than is needed, but we have 32 bits for IDs, and multiples of
 a suitably chosen EXCEPTIONS_PER_CLASS (like 100 here) are easy to read in
 error messages.

Author:
ken

Field Summary
static int AMX_IMPL_START
          
Method Summary
 java.lang.RuntimeException annotationMethodException(java.lang.reflect.Method m, java.lang.Exception exc)
          

Field Detail

self

static final Exceptions self

EXCEPTIONS_PER_CLASS

static final int EXCEPTIONS_PER_CLASS
See Also:
Constant Field Values

AMX_IMPL_START

static final int AMX_IMPL_START
See Also:
Constant Field Values

ATTRIBUTE_DESCRIPTOR_START

static final int ATTRIBUTE_DESCRIPTOR_START
See Also:
Constant Field Values

DESCRIPTOR_INTROSPECTOR_START

static final int DESCRIPTOR_INTROSPECTOR_START
See Also:
Constant Field Values

IMMUTABLE_DESCRIPTOR_START

static final int IMMUTABLE_DESCRIPTOR_START
See Also:
Constant Field Values

MBEAN_IMPL_START

static final int MBEAN_IMPL_START
See Also:
Constant Field Values

MBEAN_SKELETON_START

static final int MBEAN_SKELETON_START
See Also:
Constant Field Values

MBEAN_TREE_START

static final int MBEAN_TREE_START
See Also:
Constant Field Values

MANAGED_OBJECT_MANAGER_IMPL_START

static final int MANAGED_OBJECT_MANAGER_IMPL_START
See Also:
Constant Field Values

TYPE_CONVERTER_IMPL_START

static final int TYPE_CONVERTER_IMPL_START
See Also:
Constant Field Values

JMX_REGISTRATION_MANAGER_START

static final int JMX_REGISTRATION_MANAGER_START
See Also:
Constant Field Values
Method Detail

excForGetMeta


excForCheckType


excForMakeFromInherited


excForMakeFromAnnotated


unknownDeclarationType


duplicateAMXFieldName


excForAddDescriptorFieldsToMap


excForAddAnnotationFieldsToMap


excForAddToMap


excForAnnotationToField


nullMap


badFieldName


duplicateFieldName


excForReadResolveImmutableDescriptor


nullArrayParameter


differentSizeArrays


nullFieldsParameter


badFieldFormat


excForUnion


nullArgument


unsupportedOperation


nodeAlreadyHasParent


invalidSubtypeOfParent


childMustBeSingleton


registerMBeanRegistered


unregisterMBeanNotRegistered


registeringMBean


unregisteringMBean


unexpectedException


notBothNull


typesMustMatch


duplicateObjectNameKeyAttributes


parameterNamesLengthBad


couldNotFindAttribute


couldNotFindWritableAttribute


couldNotFindOperation


couldNotFindOperationAndSignature


nameOfManagedObject


attributeSettingError


attributeGettingError


excInOpenParameterInfo


annotationMethodException


rootAlreadySet


noRootObjectName


rootRegisterFail


rootNotSet


invalidRootParentName


notPartOfThisTree


parentCannotBeNull


parentNotFound


objectAlreadyRegistered


shouldNotHappen


objectNotFound


ppNullInRootParent


typeNullInRootParent


malformedObjectName


objStringWrongRegisterCall


exceptionInRegister


exceptionInUnregister


duplicateAnnotation


badInheritedAttributeAnnotation


illegalAttributeField


noDescriptionAvailable


createRootNotCalled


createRootCalled


errorInConstructingMBean


nonSingletonRequiresName


singletonCannotSpecifyName


noAnnotationFound


cannotAddNullAnnotation


managedObjectAnnotationNotFound


annotationsNotSupported


unsupportedOpenType


cannotConvertToJavaType


entityNotObjectName


noArrayOfArray


notAString


noStringConstructor


stringConversionError


exceptionInMakeCompositeType


exceptionInHandleManagedData


removeNotSupported


recursiveTypesNotSupported


openTypeInArrayTypeException


exceptionInMakeMapTabularType


rowTypeDescription


keyFieldDescription


valueFieldDescription


tableName


tableDescription


excInMakeMapTabularDataToManagedEntity


paramTypeNeedsArgument


openToJavaNotSupported


iteratorNotFound


nextNotFound


errorInConstructingOpenData


noStringConstructorAvailable


deferredRegistrationException