/** * INTERNAL: * EclipseLink exceptions should only be thrown by EclipseLink. */ public static StaticWeaveException exceptionOpeningArchive(URL archive, Exception cause) { 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; }
/** * INTERNAL: * EclipseLink exceptions should only be thrown by EclipseLink. */ public static StaticWeaveException exceptionOpeningArchive(URL archive, Exception cause) { 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; }
/** * INTERNAL: * EclipseLink exceptions should only be thrown by EclipseLink. */ public static StaticWeaveException exceptionOpeningArchive(URL archive, Exception cause) { 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 StaticWeaveException exceptionPerformWeaving(Exception cause, Object sourceJar) { Object[] args = { sourceJar }; StaticWeaveException loadingException = new StaticWeaveException(ExceptionMessageGenerator.buildMessage(StaticWeaveException.class, EXCEPTION_WEAVING, args), cause); loadingException.setResourceName(null); loadingException.setErrorCode(EXCEPTION_WEAVING); return loadingException; }
/** * INTERNAL: * EclipseLink exceptions should only be thrown by EclipseLink. */ public static StaticWeaveException missingSource() { 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; }
/** * INTERNAL: * EclipseLink exceptions should only be thrown by EclipseLink. */ public static StaticWeaveException missingSource() { 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; }
/** * INTERNAL: * EclipseLink exceptions should only be thrown by EclipseLink. */ public static StaticWeaveException illegalLoggingLevel(String loggingLevel) { 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; }
/** * INTERNAL: * EclipseLink exceptions should only be thrown by EclipseLink. */ public static StaticWeaveException missingSource() { 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; }
/** * INTERNAL: * EclipseLink exceptions should only be thrown by EclipseLink. */ public static StaticWeaveException openLoggingFileException(String LoggingFile,Exception cause) { 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 static StaticWeaveException exceptionPerformWeaving(Exception cause, Object sourceJar) { Object[] args = { sourceJar }; StaticWeaveException loadingException = new StaticWeaveException(ExceptionMessageGenerator.buildMessage(StaticWeaveException.class, EXCEPTION_WEAVING, args), cause); loadingException.setResourceName(null); loadingException.setErrorCode(EXCEPTION_WEAVING); return loadingException; }
/** * INTERNAL: * EclipseLink exceptions should only be thrown by EclipseLink. */ public static StaticWeaveException weaveInplaceForJar(String filePath) { 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; }
/** * INTERNAL: * EclipseLink exceptions should only be thrown by EclipseLink. */ public static StaticWeaveException illegalLoggingLevel(String loggingLevel) { 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; }
/** * INTERNAL: * EclipseLink exceptions should only be thrown by EclipseLink. */ public static StaticWeaveException weaveInplaceForJar(String filePath) { 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; }
/** * INTERNAL: * EclipseLink exceptions should only be thrown by EclipseLink. */ public static StaticWeaveException openLoggingFileException(String LoggingFile,Exception cause) { 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; }
/** * INTERNAL: * EclipseLink exceptions should only be thrown by EclipseLink. */ public static StaticWeaveException missingTarget() { 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; }
/** * INTERNAL: * EclipseLink exceptions should only be thrown by EclipseLink. */ public static StaticWeaveException missingTarget() { 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; }
/** * INTERNAL: * EclipseLink exceptions should only be thrown by EclipseLink. */ public static StaticWeaveException openLoggingFileException(String LoggingFile,Exception cause) { 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; }
/** * INTERNAL: * EclipseLink exceptions should only be thrown by EclipseLink. */ public static StaticWeaveException missingTarget() { 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 StaticWeaveException exceptionPerformWeaving(Exception cause, Object sourceJar) { Object[] args = { sourceJar }; StaticWeaveException loadingException = new StaticWeaveException(ExceptionMessageGenerator.buildMessage(StaticWeaveException.class, EXCEPTION_WEAVING, args), cause); loadingException.setResourceName(null); loadingException.setErrorCode(EXCEPTION_WEAVING); return loadingException; }
/** * INTERNAL: * EclipseLink exceptions should only be thrown by EclipseLink. */ public static StaticWeaveException illegalLoggingLevel(String loggingLevel) { 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; }