Methods Summary |
---|
public static oracle.toplink.essentials.exceptions.StaticWeaveException | exceptionOpeningArchive(java.net.URL archive, java.lang.Exception cause)INTERNAL:
TopLink exceptions should only be thrown by TopLink.
Object[] args = { archive };
StaticWeaveException openArchiveException = new StaticWeaveException(ExceptionMessageGenerator.buildMessage(StaticWeaveException.class, EXCEPTION_OPENNING_ARCHIVE, args),cause);
openArchiveException.setResourceName(archive.toString());
openArchiveException.setErrorCode(EXCEPTION_OPENNING_ARCHIVE);
return openArchiveException;
|
public static oracle.toplink.essentials.exceptions.StaticWeaveException | exceptionPerformWeaving(java.lang.Exception cause)
Object[] args = { };
StaticWeaveException loadingException = new StaticWeaveException(ExceptionMessageGenerator.buildMessage(StaticWeaveException.class, EXCEPTION_WEAVING, args), cause);
loadingException.setResourceName(null);
loadingException.setErrorCode(EXCEPTION_WEAVING);
return loadingException;
|
public java.lang.String | getResourceName()
return resourceName;
|
public static oracle.toplink.essentials.exceptions.StaticWeaveException | illegalLoggingLevel(java.lang.String loggingLevel)INTERNAL:
TopLink exceptions should only be thrown by TopLink.
Object[] args = { loggingLevel };
StaticWeaveException loadingException = new StaticWeaveException(ExceptionMessageGenerator.buildMessage(StaticWeaveException.class, EXCEPTION_FOR_ILLEGALE_LOGGING_LEVEL, args));
loadingException.setResourceName(loggingLevel);
loadingException.setErrorCode(EXCEPTION_FOR_ILLEGALE_LOGGING_LEVEL);
return loadingException;
|
public static oracle.toplink.essentials.exceptions.StaticWeaveException | missingSource()INTERNAL:
TopLink exceptions should only be thrown by TopLink.
Object[] args = { null };
StaticWeaveException missingSourceException = new StaticWeaveException(ExceptionMessageGenerator.buildMessage(StaticWeaveException.class, EXCEPTION_NO_SOURCE_SPECIFIED, args));
missingSourceException.setResourceName(null);
missingSourceException.setErrorCode(EXCEPTION_NO_SOURCE_SPECIFIED);
return missingSourceException;
|
public static oracle.toplink.essentials.exceptions.StaticWeaveException | missingTarget()INTERNAL:
TopLink exceptions should only be thrown by TopLink.
Object[] args = { null };
StaticWeaveException missingTargetException = new StaticWeaveException(ExceptionMessageGenerator.buildMessage(StaticWeaveException.class, EXCEPTION_NO_TARGET_SPECIFIED, args));
missingTargetException.setResourceName(null);
missingTargetException.setErrorCode(EXCEPTION_NO_TARGET_SPECIFIED);
return missingTargetException;
|
public static oracle.toplink.essentials.exceptions.StaticWeaveException | openLoggingFileException(java.lang.String LoggingFile, java.lang.Exception cause)INTERNAL:
TopLink exceptions should only be thrown by TopLink.
Object[] args = { LoggingFile };
StaticWeaveException loadingException = new StaticWeaveException(ExceptionMessageGenerator.buildMessage(StaticWeaveException.class, EXCEPTION_OPEN_LOGGING_FILE, args), cause);
loadingException.setResourceName(LoggingFile);
loadingException.setErrorCode(EXCEPTION_OPEN_LOGGING_FILE);
return loadingException;
|
public void | setResourceName(java.lang.String resourceName)
this.resourceName = resourceName;
|
public static oracle.toplink.essentials.exceptions.StaticWeaveException | weaveInplaceForJar(java.lang.String filePath)INTERNAL:
TopLink exceptions should only be thrown by TopLink.
Object[] args = { filePath };
StaticWeaveException loadingException = new StaticWeaveException(ExceptionMessageGenerator.buildMessage(StaticWeaveException.class, EXCEPTION_NO_SUPPORT_WEAVING_INPLACE_FOR_JAR, args));
loadingException.setResourceName(filePath);
loadingException.setErrorCode(EXCEPTION_NO_SUPPORT_WEAVING_INPLACE_FOR_JAR);
return loadingException;
|