org.glassfish.gmbal.impl
Interface Exceptions


@ExceptionWrapper(idPrefix="GMBAL",
                  resourceBundle="org.glassfish.gmbal.logex.LogStrings")
public 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
           
static int ATTRIBUTE_DESCRIPTOR_START
           
static int DESCRIPTOR_INTROSPECTOR_START
           
static int EXCEPTIONS_PER_CLASS
           
static int IMMUTABLE_DESCRIPTOR_START
           
static int JMX_REGISTRATION_MANAGER_START
           
static int MANAGED_OBJECT_MANAGER_IMPL_START
           
static int MBEAN_IMPL_START
           
static int MBEAN_SKELETON_START
           
static int MBEAN_TREE_START
           
static Exceptions self
           
static int TYPE_CONVERTER_IMPL_START
           
 
Method Summary
 RuntimeException annotationMethodException(Method m, Exception exc)
           
 IllegalArgumentException annotationsNotSupported(AnnotatedElement elem)
           
 void attributeGettingError(Exception ex, String name)
           
 void attributeSettingError(Exception ex, String name)
           
 IllegalArgumentException badFieldFormat(String field)
           
 IllegalArgumentException badFieldName()
           
 IllegalArgumentException badInheritedAttributeAnnotation(EvaluatedClassDeclaration cls)
           
 IllegalArgumentException cannotAddNullAnnotation(AnnotatedElement element)
           
 IllegalArgumentException cannotConvertToJavaType(EvaluatedType type)
           
 IllegalArgumentException childMustBeSingleton(ObjectName pname, String ctype, ObjectName cname)
           
 AttributeNotFoundException couldNotFindAttribute(String name)
           
 IllegalArgumentException couldNotFindOperation(String name)
           
 IllegalArgumentException couldNotFindOperationAndSignature(String name, List<String> signature)
           
 AttributeNotFoundException couldNotFindWritableAttribute(String name)
           
 IllegalStateException createRootCalled(String methodName)
           
 IllegalStateException createRootNotCalled(String methodName)
           
 void deferredRegistrationException(JMException exc, MBeanImpl mbean)
           
 IllegalArgumentException differentSizeArrays()
           
 IllegalArgumentException duplicateAMXFieldName(String actualId, String methodName, String className)
           
 IllegalArgumentException duplicateAnnotation(AnnotatedElement element, String name)
           
 IllegalArgumentException duplicateFieldName(String name)
           
 IllegalArgumentException duplicateObjectNameKeyAttributes(EvaluatedMethodDeclaration first, EvaluatedMethodDeclaration second, String className)
           
 IllegalArgumentException entityNotObjectName(Object entity)
           
 IllegalArgumentException errorInConstructingMBean(String objName, JMException exc)
           
 void errorInConstructingOpenData(String name, String id, JMException ex)
           
 IllegalArgumentException exceptionInHandleManagedData(Exception exc)
           
 IllegalArgumentException exceptionInMakeCompositeType(Exception exc)
           
 IllegalArgumentException exceptionInMakeMapTabularType(Exception exc)
           
 IllegalArgumentException exceptionInRegister(Exception ex)
           
 IllegalArgumentException exceptionInUnregister(Exception ex)
           
 UndeclaredThrowableException excForAddAnnotationFieldsToMap(Exception ex)
           
 IllegalArgumentException excForAddDescriptorFieldsToMap(String field)
           
 IllegalArgumentException excForAddToMap(String name, Object value, Object oldValue)
           
 IllegalArgumentException excForAnnotationToField(String name)
           
 GmbalException excForCheckType(AttributeDescriptor.AttributeType at)
           
 GmbalException excForGetMeta(MBeanException ex)
           
 IllegalArgumentException excForMakeFromAnnotated(EvaluatedDeclaration m)
           
 IllegalArgumentException excForMakeFromInherited()
           
 InvalidObjectException excForReadResolveImmutableDescriptor()
           
 IllegalArgumentException excForUnion(String name, Object oldValue, Object value)
           
 IllegalArgumentException excInMakeMapTabularDataToManagedEntity(Exception exc)
           
 IllegalStateException excInOpenParameterInfo(IllegalArgumentException exc, String paramName, EvaluatedMethodDeclaration meth)
           
 IllegalArgumentException illegalAttributeField(EvaluatedFieldDeclaration cls)
           
 GmbalException invalidRootParentName(ObjectName oname)
           
 IllegalArgumentException invalidSubtypeOfParent(ObjectName oname, Set<String> subTypes, ObjectName objectName, String type)
           
 IllegalStateException iteratorNotFound(EvaluatedClassDeclaration cls)
           
 String keyFieldDescription(String mapType)
           
 IllegalArgumentException malformedObjectName(Exception exc, String str)
           
 IllegalArgumentException managedObjectAnnotationNotFound(String cname)
           
 String nameOfManagedObject()
           
 IllegalStateException nextNotFound(EvaluatedClassDeclaration cls)
           
 IllegalArgumentException noAnnotationFound(String name, String cls)
           
 IllegalArgumentException noArrayOfArray(Exception exc)
           
 IllegalArgumentException nodeAlreadyHasParent(MBeanImpl entity)
           
 String noDescriptionAvailable()
           
 IllegalArgumentException nonSingletonRequiresName(MBeanImpl parentEntity, String type)
           
 IllegalArgumentException noRootObjectName(Exception ex)
           
 UnsupportedOperationException noStringConstructor(Class cls)
           
 void noStringConstructorAvailable(Exception exc, String name)
           
 IllegalArgumentException notAString(Object obj)
           
 IllegalArgumentException notBothNull()
           
 IllegalArgumentException notPartOfThisTree(MBeanImpl mbi)
           
 IllegalArgumentException nullArgument()
           
 IllegalArgumentException nullArrayParameter()
           
 IllegalArgumentException nullFieldsParameter()
           
 IllegalArgumentException nullMap()
           
 IllegalArgumentException objectAlreadyRegistered(Object obj, MBeanImpl oldMbi)
           
 IllegalArgumentException objectNotFound(Object obj)
           
 IllegalArgumentException objStringWrongRegisterCall(String str)
           
 UnsupportedOperationException openToJavaNotSupported(OpenType otype, EvaluatedType javaType)
           
 IllegalArgumentException openTypeInArrayTypeException(OpenType ot, Exception exc)
           
 IllegalArgumentException parameterNamesLengthBad()
           
 IllegalArgumentException paramTypeNeedsArgument(ParameterizedType type)
           
 IllegalArgumentException parentCannotBeNull()
           
 IllegalArgumentException parentNotFound(Object parent)
           
 IllegalArgumentException ppNullInRootParent()
           
 UnsupportedOperationException recursiveTypesNotSupported(EvaluatedType et)
           
 void registeringMBean(ObjectName oname)
           
 void registerMBeanRegistered(ObjectName oname)
           
 UnsupportedOperationException removeNotSupported()
           
 IllegalStateException rootAlreadySet()
           
 IllegalStateException rootNotSet()
           
 IllegalArgumentException rootRegisterFail(Exception ex, ObjectName rootName)
           
 String rowTypeDescription(String mapType)
           
 void shouldNotHappen(Exception ex)
           
 IllegalArgumentException singletonCannotSpecifyName(MBeanImpl parentEntity, String type, String name)
           
 IllegalArgumentException stringConversionError(Class cls, Exception exc)
           
 String tableDescription(String mapType)
           
 String tableName(String mapType)
           
 IllegalArgumentException typeNullInRootParent()
           
 IllegalArgumentException typesMustMatch()
           
 void unexpectedException(String method, Throwable exc)
           
 IllegalArgumentException unknownDeclarationType(EvaluatedDeclaration decl)
           
 void unregisteringMBean(ObjectName oname)
           
 void unregisterMBeanNotRegistered(ObjectName oname)
           
 IllegalArgumentException unsupportedOpenType(OpenType ot)
           
 UnsupportedOperationException unsupportedOperation()
           
 String valueFieldDescription(String mapType)
           
 

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

@Message(value="Exception in getMeta")
@Log(id=1)
GmbalException excForGetMeta(@Chain
                                                MBeanException ex)

excForCheckType

@Message(value="Required type is {0}")
@Log(id=101)
GmbalException excForCheckType(AttributeDescriptor.AttributeType at)

excForMakeFromInherited

@Message(value="methodName and id must not both be null")
@Log(id=102)
IllegalArgumentException excForMakeFromInherited()

excForMakeFromAnnotated

@Message(value="{0} is not a valid attribute method")
@Log(id=103)
IllegalArgumentException excForMakeFromAnnotated(EvaluatedDeclaration m)

unknownDeclarationType

@Message(value="Unknown EvaluatedDeclaration type {0}")
@Log(id=105)
IllegalArgumentException unknownDeclarationType(EvaluatedDeclaration decl)

duplicateAMXFieldName

@Message(value="Attribute id {0} in method {1} in class {2} is illegal becase it is a reserved Attribute id for AMX")
@Log(id=106)
IllegalArgumentException duplicateAMXFieldName(String actualId,
                                                                  String methodName,
                                                                  String className)

excForAddDescriptorFieldsToMap

@Message(value="@DescriptorFields must contain \'=\' : {0}")
@Log(id=201)
IllegalArgumentException excForAddDescriptorFieldsToMap(String field)

excForAddAnnotationFieldsToMap

@Log(id=202)
@Message(value="Exception in addAnnotationFieldsToMap")
UndeclaredThrowableException excForAddAnnotationFieldsToMap(@Chain
                                                                               Exception ex)

excForAddToMap

@Message(value="Inconcistent values for descriptor field {0} from annotations: {1} :: {2}")
@Log(id=203)
IllegalArgumentException excForAddToMap(String name,
                                                           Object value,
                                                           Object oldValue)

excForAnnotationToField

@Message(value="Illegal type for annotation element using @DescriptorKey: {0}")
@Log(id=204)
IllegalArgumentException excForAnnotationToField(String name)

nullMap

@Message(value="Null Map")
@Log(id=301)
IllegalArgumentException nullMap()

badFieldName

@Message(value="Empty or null field name")
@Log(id=302)
IllegalArgumentException badFieldName()

duplicateFieldName

@Message(value="Duplicate field name: {0}")
@Log(id=303)
IllegalArgumentException duplicateFieldName(String name)

excForReadResolveImmutableDescriptor

@Message(value="Bad names or values")
@Log(id=304)
InvalidObjectException excForReadResolveImmutableDescriptor()

nullArrayParameter

@Message(value="Null array parameter")
@Log(id=305)
IllegalArgumentException nullArrayParameter()

differentSizeArrays

@Message(value="Different size arrays")
@Log(id=306)
IllegalArgumentException differentSizeArrays()

nullFieldsParameter

@Message(value="Null fields parameter")
@Log(id=307)
IllegalArgumentException nullFieldsParameter()

badFieldFormat

@Message(value="Missing = character: {0}")
@Log(id=308)
IllegalArgumentException badFieldFormat(String field)

excForUnion

@Message(value="Inconsistent values for descriptor field {0}: {1} :: {2}")
@Log(id=309)
IllegalArgumentException excForUnion(String name,
                                                        Object oldValue,
                                                        Object value)

nullArgument

@Message(value="Null argument")
@Log(id=310)
IllegalArgumentException nullArgument()

unsupportedOperation

@Message(value="Descriptor is read-only")
@Log(id=311)
UnsupportedOperationException unsupportedOperation()

nodeAlreadyHasParent

@Message(value="Cannot set parent to {0}: this node already has a parent")
@Log(id=401)
IllegalArgumentException nodeAlreadyHasParent(MBeanImpl entity)

invalidSubtypeOfParent

@Message(value="Parent object {0} only allows subtypes {1}:  cannot add child {2} of type {3}")
@Log(id=402)
IllegalArgumentException invalidSubtypeOfParent(ObjectName oname,
                                                                   Set<String> subTypes,
                                                                   ObjectName objectName,
                                                                   String type)

childMustBeSingleton

@Message(value="Parent object {0} cannot contain more than one object of type {1}: cannot add child {2}")
@Log(id=403)
IllegalArgumentException childMustBeSingleton(ObjectName pname,
                                                                 String ctype,
                                                                 ObjectName cname)

registerMBeanRegistered

@Message(value="tried to register MBean {0} that is already registered")
@Log(id=404)
void registerMBeanRegistered(ObjectName oname)

unregisterMBeanNotRegistered

@Message(value="tried to unregister MBean {0} that is not registered")
@Log(id=405)
void unregisterMBeanNotRegistered(ObjectName oname)

registeringMBean

@StackTrace
@Message(value="registering MBean {0}")
@Log(id=406,
     level=INFO)
void registeringMBean(ObjectName oname)

unregisteringMBean

@StackTrace
@Message(value="unregistering MBean {0}")
@Log(id=407,
     level=INFO)
void unregisteringMBean(ObjectName oname)

unexpectedException

@Message(value="Got an unexpected exception from method {0}")
@Log(id=408)
void unexpectedException(String method,
                                            @Chain
                                            Throwable exc)

notBothNull

@Message(value="At least one of getter and setter must not be null")
@Log(id=501)
IllegalArgumentException notBothNull()

typesMustMatch

@Message(value="Getter and setter type must match")
@Log(id=502)
IllegalArgumentException typesMustMatch()

duplicateObjectNameKeyAttributes

@Message(value="Methods {0} and {1} are both annotated with @ObjectNameKey in class {2}")
@Log(id=503)
IllegalArgumentException duplicateObjectNameKeyAttributes(EvaluatedMethodDeclaration first,
                                                                             EvaluatedMethodDeclaration second,
                                                                             String className)

parameterNamesLengthBad

@Message(value="ParameterNams annotation must have the same number of arguments as the length of the method parameter list")
@Log(id=504)
IllegalArgumentException parameterNamesLengthBad()

couldNotFindAttribute

@Message(value="Could not find attribute {0}")
@Log(id=505)
AttributeNotFoundException couldNotFindAttribute(String name)

couldNotFindWritableAttribute

@Message(value="Could not find writable attribute {0}")
@Log(id=506)
AttributeNotFoundException couldNotFindWritableAttribute(String name)

couldNotFindOperation

@Message(value="Could not find operation named {0}")
@Log(id=507)
IllegalArgumentException couldNotFindOperation(String name)

couldNotFindOperationAndSignature

@Message(value="Could not find operation named {0} with signature {1}")
@Log(id=508)
IllegalArgumentException couldNotFindOperationAndSignature(String name,
                                                                              List<String> signature)

nameOfManagedObject

@Message(value="Name of this ManagedObject")
String nameOfManagedObject()

attributeSettingError

@Message(value="Error in setting attribute {0}")
@Log(id=509)
void attributeSettingError(@Chain
                                              Exception ex,
                                              String name)

attributeGettingError

@Message(value="Error in getting attribute {0}")
@Log(id=510)
void attributeGettingError(@Chain
                                              Exception ex,
                                              String name)

excInOpenParameterInfo

@Message(value="OpenDataException trying to create OpenMBEanParameterInfoSupport for parameter {0} on method {1}")
@Log(id=511)
IllegalStateException excInOpenParameterInfo(@Chain
                                                                IllegalArgumentException exc,
                                                                String paramName,
                                                                EvaluatedMethodDeclaration meth)

annotationMethodException

@Message(value="Exception on invoking annotation method {0}")
@Log(id=512,
     level=SEVERE)
RuntimeException annotationMethodException(Method m,
                                                                         @Chain
                                                                         Exception exc)

rootAlreadySet

@Message(value="Root has already been set: cannot set it again")
@Log(id=601)
IllegalStateException rootAlreadySet()

noRootObjectName

@Message(value="Could not construct ObjectName for root")
@Log(id=602)
IllegalArgumentException noRootObjectName(@Chain
                                                             Exception ex)

rootRegisterFail

@Message(value="Could not register root with ObjectName {0}")
@Log(id=603)
IllegalArgumentException rootRegisterFail(@Chain
                                                             Exception ex,
                                                             ObjectName rootName)

rootNotSet

@Message(value="Root has not been set")
@Log(id=604)
IllegalStateException rootNotSet()

invalidRootParentName

@Message(value="rootParentName {0} is invalid: missing type or name")
@Log(id=605)
GmbalException invalidRootParentName(ObjectName oname)

notPartOfThisTree

@Message(value="Entity {0} is not part of this EntityTree")
@Log(id=606)
IllegalArgumentException notPartOfThisTree(MBeanImpl mbi)

parentCannotBeNull

@Message(value="Parent cannot be null")
@Log(id=607)
IllegalArgumentException parentCannotBeNull()

parentNotFound

@Message(value="Parent object {0} not found")
@Log(id=608)
IllegalArgumentException parentNotFound(Object parent)

objectAlreadyRegistered

@Message(value="Object {0} is already registered as {1}")
@Log(id=609)
IllegalArgumentException objectAlreadyRegistered(Object obj,
                                                                    MBeanImpl oldMbi)

shouldNotHappen

@Message(value="Should not happen")
@Log(id=610,
     level=FINE)
void shouldNotHappen(@Chain
                                                 Exception ex)

objectNotFound

@Message(value="Object {0} not found")
@Log(id=611)
IllegalArgumentException objectNotFound(Object obj)

ppNullInRootParent

@Message(value="The ObjectName of the root parent MUST contain pp key")
@Log(id=612)
IllegalArgumentException ppNullInRootParent()

typeNullInRootParent

@Message(value="The ObjectName of the root parent MUST contain pp key")
@Log(id=613)
IllegalArgumentException typeNullInRootParent()

malformedObjectName

@Message(value="A MalformedObjectNameException occured on {0}")
@Log(id=613)
IllegalArgumentException malformedObjectName(@Chain
                                                                Exception exc,
                                                                String str)

objStringWrongRegisterCall

@Message(value="obj argument is a String: {0} : was a call to registerAtRoot intended here?")
@Log(id=701)
IllegalArgumentException objStringWrongRegisterCall(String str)

exceptionInRegister

@Message(value="Exception in register")
@Log(id=702)
IllegalArgumentException exceptionInRegister(@Chain
                                                                Exception ex)

exceptionInUnregister

@Message(value="Exception in unregister")
@Log(id=703)
IllegalArgumentException exceptionInUnregister(@Chain
                                                                  Exception ex)

duplicateAnnotation

@Message(value="Cannot add annotation to element {0}: an Annotation of type {1} is already present")
@Log(id=704)
IllegalArgumentException duplicateAnnotation(AnnotatedElement element,
                                                                String name)

badInheritedAttributeAnnotation

@Message(value="Class {0} contains both the InheritedAttribute and the InheritedAttributes annotations")
@Log(id=705)
IllegalArgumentException badInheritedAttributeAnnotation(EvaluatedClassDeclaration cls)

illegalAttributeField

@Message(value="Field {0} must be final and have an immutable type to be used as an attribute")
@Log(id=705)
IllegalArgumentException illegalAttributeField(EvaluatedFieldDeclaration cls)

noDescriptionAvailable

@Message(value="No description available!")
String noDescriptionAvailable()

createRootNotCalled

@Message(value="Method {0} cannot be called before a successful createRoot call")
@Log(id=706)
IllegalStateException createRootNotCalled(String methodName)

createRootCalled

@Message(value="Method {0} cannot be called after a successful createRoot call")
@Log(id=707)
IllegalStateException createRootCalled(String methodName)

errorInConstructingMBean

@Message(value="Could not construct MBean {0}")
@Log(id=708)
IllegalArgumentException errorInConstructingMBean(String objName,
                                                                     @Chain
                                                                     JMException exc)

nonSingletonRequiresName

@Message(value="Attempt made to register non-singleton object of type {1} without a name as a child of {0}")
@Log(id=709)
IllegalArgumentException nonSingletonRequiresName(MBeanImpl parentEntity,
                                                                     String type)

singletonCannotSpecifyName

@Message(value="Attempt made to register singleton object of type {1} with name {2} as a child of {0}")
@Log(id=710)
IllegalArgumentException singletonCannotSpecifyName(MBeanImpl parentEntity,
                                                                       String type,
                                                                       String name)

noAnnotationFound

@Message(value="No {0} annotation found on {1}")
@Log(id=711)
IllegalArgumentException noAnnotationFound(String name,
                                                              String cls)

cannotAddNullAnnotation

@Message(value="Cannot add null annotation to {0}")
@Log(id=712)
IllegalArgumentException cannotAddNullAnnotation(AnnotatedElement element)

managedObjectAnnotationNotFound

@Message(value="ManagedObject annotation not found on class {0}")
@Log(id=713)
IllegalArgumentException managedObjectAnnotationNotFound(String cname)

annotationsNotSupported

@Message(value="Cannot call getAnnotations on {0}")
@Log(id=714)
IllegalArgumentException annotationsNotSupported(AnnotatedElement elem)

unsupportedOpenType

@Message(value="Unsupported OpenType {0}")
@Log(id=801)
IllegalArgumentException unsupportedOpenType(OpenType ot)

cannotConvertToJavaType

@Message(value="{0} cannot be converted into a Java class")
@Log(id=802)
IllegalArgumentException cannotConvertToJavaType(EvaluatedType type)

entityNotObjectName

@Message(value="Management entity {0} is not an ObjectName")
@Log(id=803)
IllegalArgumentException entityNotObjectName(Object entity)

noArrayOfArray

@Message(value="Arrays of arrays not supported")
@Log(id=804)
IllegalArgumentException noArrayOfArray(@Chain
                                                           Exception exc)

notAString

@Message(value="{0} is not a String")
@Log(id=805)
IllegalArgumentException notAString(Object obj)

noStringConstructor

@Message(value="There is no (String) constructor available to convert a String into a {0}")
@Log(id=806)
UnsupportedOperationException noStringConstructor(Class cls)

stringConversionError

@Message(value="Error in converting from String to {0}")
@Log(id=807)
IllegalArgumentException stringConversionError(Class cls,
                                                                  @Chain
                                                                  Exception exc)

exceptionInMakeCompositeType

@Message(value="Exception in makeCompositeType")
@Log(id=808)
IllegalArgumentException exceptionInMakeCompositeType(@Chain
                                                                         Exception exc)

exceptionInHandleManagedData

@Message(value="Exception in handleManagedData")
@Log(id=809)
IllegalArgumentException exceptionInHandleManagedData(@Chain
                                                                         Exception exc)

removeNotSupported

@Message(value="Remove is not supported")
@Log(id=810)
UnsupportedOperationException removeNotSupported()

recursiveTypesNotSupported

@Message(value="Recursive types are not supported: type is {0}")
@Log(id=811)
UnsupportedOperationException recursiveTypesNotSupported(EvaluatedType et)

openTypeInArrayTypeException

@Message(value="OpenType exception in ArrayType construction caused by {0}")
@Log(id=812)
IllegalArgumentException openTypeInArrayTypeException(OpenType ot,
                                                                         @Chain
                                                                         Exception exc)

exceptionInMakeMapTabularType

@Message(value="Exception in makeMapTabularType")
@Log(id=813)
IllegalArgumentException exceptionInMakeMapTabularType(@Chain
                                                                          Exception exc)

rowTypeDescription

@Message(value="row type for {0}")
String rowTypeDescription(String mapType)

keyFieldDescription

@Message(value="Key of map {0}")
String keyFieldDescription(String mapType)

valueFieldDescription

@Message(value="Value of map {0}")
String valueFieldDescription(String mapType)

tableName

@Message(value="Table:{0}")
String tableName(String mapType)

tableDescription

@Message(value="Table for map {0}")
String tableDescription(String mapType)

excInMakeMapTabularDataToManagedEntity

@Message(value="Exception in makeMapTabularData:toManagedEntity")
@Log(id=814)
IllegalArgumentException excInMakeMapTabularDataToManagedEntity(@Chain
                                                                                   Exception exc)

paramTypeNeedsArgument

@Message(value="{0} must have at least 1 type argument")
@Log(id=815)
IllegalArgumentException paramTypeNeedsArgument(ParameterizedType type)

openToJavaNotSupported

@Message(value="Converting from OpenType {0} to Java type {1} is not supported")
@Log(id=816)
UnsupportedOperationException openToJavaNotSupported(OpenType otype,
                                                                        EvaluatedType javaType)

iteratorNotFound

@Message(value="iterator() method not found in subclass of Iterable {0}")
@Log(id=817)
IllegalStateException iteratorNotFound(EvaluatedClassDeclaration cls)

nextNotFound

@Message(value="next() method not found in type {0}")
@Log(id=818)
IllegalStateException nextNotFound(EvaluatedClassDeclaration cls)

errorInConstructingOpenData

@Message(value="Could not set field {1} in CompositeData for type {0}")
@Log(id=819,
     level=FINE)
void errorInConstructingOpenData(String name,
                                                             String id,
                                                             @Chain
                                                             JMException ex)

noStringConstructorAvailable

@Message(value="No (String) constructor available for class {0}")
@Log(id=820,
     level=FINE)
void noStringConstructorAvailable(@Chain
                                                              Exception exc,
                                                              String name)

deferredRegistrationException

@Message(value="JMX exception on registration of MBean {0}")
@Log(id=901)
void deferredRegistrationException(@Chain
                                                      JMException exc,
                                                      MBeanImpl mbean)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.