public class JDOCodeGeneratorHelper extends Object
| Constructor and Description |
|---|
JDOCodeGeneratorHelper() |
| Modifier and Type | Method and Description |
|---|---|
static GeneratorException |
createGeneratorException(String key,
com.sun.enterprise.deployment.EjbBundleDescriptor bundle)
Create GeneratorException for this message key.
|
static GeneratorException |
createGeneratorException(String key,
com.sun.enterprise.deployment.EjbBundleDescriptor bundle,
Exception e)
Create GeneratorException for this message key.
|
static GeneratorException |
createGeneratorException(String key,
String beanName,
com.sun.enterprise.deployment.EjbBundleDescriptor bundle)
Create GeneratorException for this message key and bean name.
|
static GeneratorException |
createGeneratorException(String key,
String beanName,
com.sun.enterprise.deployment.EjbBundleDescriptor bundle,
Exception e)
Create GeneratorException for this message key and bean name.
|
static GeneratorException |
createGeneratorException(String key,
String beanName,
com.sun.enterprise.deployment.EjbBundleDescriptor bundle,
Exception e,
StringBuffer buf)
Create GeneratorException for this message key, bean name,
and a StringBuffer with validation exceptions.
|
static GeneratorException |
createGeneratorException(String key,
String beanName,
com.sun.enterprise.deployment.EjbBundleDescriptor bundle,
String msg)
Create GeneratorException for this message key and bean name.
|
static String |
getModuleName(com.sun.enterprise.deployment.EjbBundleDescriptor bundle)
Calculate module name from a bundle.
|
public static String getModuleName(com.sun.enterprise.deployment.EjbBundleDescriptor bundle)
public static GeneratorException createGeneratorException(String key, com.sun.enterprise.deployment.EjbBundleDescriptor bundle)
key - the message key in the bundle.bundle - the ejb bundle.public static GeneratorException createGeneratorException(String key, com.sun.enterprise.deployment.EjbBundleDescriptor bundle, Exception e)
key - the message key in the bundle.bundle - the ejb bundle.e - the Exception to use for the message.public static GeneratorException createGeneratorException(String key, String beanName, com.sun.enterprise.deployment.EjbBundleDescriptor bundle)
key - the message key in the bundle.bundle - the ejb bundle.public static GeneratorException createGeneratorException(String key, String beanName, com.sun.enterprise.deployment.EjbBundleDescriptor bundle, Exception e)
key - the message key in the bundle.beanName - the CMP bean name that caused the exception.bundle - the ejb bundle.e - the Exception to use for the message.public static GeneratorException createGeneratorException(String key, String beanName, com.sun.enterprise.deployment.EjbBundleDescriptor bundle, Exception e, StringBuffer buf)
key - the message key in the bundle.beanName - the CMP bean name that caused the exception.bundle - the ejb bundle.e - the Exception to use for the message.buf - the StringBuffer with validation exceptions.public static GeneratorException createGeneratorException(String key, String beanName, com.sun.enterprise.deployment.EjbBundleDescriptor bundle, String msg)
key - the message key in the bundle.beanName - the CMP bean name that caused the exception.bundle - the ejb bundle.msg - the message text to append.Copyright © 2017–2020 Eclipse Foundation. All rights reserved.