Class StaticWeaveException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.persistence.exceptions.EclipseLinkException
-
- org.eclipse.persistence.exceptions.StaticWeaveException
-
- All Implemented Interfaces:
java.io.Serializable
public class StaticWeaveException extends EclipseLinkException
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
EXCEPTION_FOR_ILLEGALE_LOGGING_LEVEL
static int
EXCEPTION_NO_SOURCE_SPECIFIED
static int
EXCEPTION_NO_SUPPORT_WEAVING_INPLACE_FOR_JAR
static int
EXCEPTION_NO_TARGET_SPECIFIED
static int
EXCEPTION_OPEN_LOGGING_FILE
static int
EXCEPTION_OPENNING_ARCHIVE
static int
EXCEPTION_WEAVING
-
Fields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
-
-
Constructor Summary
Constructors Modifier Constructor Description StaticWeaveException()
INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.protected
StaticWeaveException(java.lang.String message)
INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.protected
StaticWeaveException(java.lang.String message, java.lang.Throwable internalException)
INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StaticWeaveException
exceptionOpeningArchive(java.net.URL archive, java.lang.Exception cause)
INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.static StaticWeaveException
exceptionPerformWeaving(java.lang.Exception cause, java.lang.Object sourceJar)
java.lang.String
getResourceName()
static StaticWeaveException
illegalLoggingLevel(java.lang.String loggingLevel)
INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.static StaticWeaveException
missingSource()
INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.static StaticWeaveException
missingTarget()
INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.static StaticWeaveException
openLoggingFileException(java.lang.String LoggingFile, java.lang.Exception cause)
INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.void
setResourceName(java.lang.String resourceName)
static StaticWeaveException
weaveInplaceForJar(java.lang.String filePath)
INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.-
Methods inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, getUnformattedMessage, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
-
-
-
-
Field Detail
-
EXCEPTION_OPENNING_ARCHIVE
public static final int EXCEPTION_OPENNING_ARCHIVE
- See Also:
- Constant Field Values
-
EXCEPTION_NO_SOURCE_SPECIFIED
public static final int EXCEPTION_NO_SOURCE_SPECIFIED
- See Also:
- Constant Field Values
-
EXCEPTION_NO_TARGET_SPECIFIED
public static final int EXCEPTION_NO_TARGET_SPECIFIED
- See Also:
- Constant Field Values
-
EXCEPTION_NO_SUPPORT_WEAVING_INPLACE_FOR_JAR
public static final int EXCEPTION_NO_SUPPORT_WEAVING_INPLACE_FOR_JAR
- See Also:
- Constant Field Values
-
EXCEPTION_OPEN_LOGGING_FILE
public static final int EXCEPTION_OPEN_LOGGING_FILE
- See Also:
- Constant Field Values
-
EXCEPTION_FOR_ILLEGALE_LOGGING_LEVEL
public static final int EXCEPTION_FOR_ILLEGALE_LOGGING_LEVEL
- See Also:
- Constant Field Values
-
EXCEPTION_WEAVING
public static final int EXCEPTION_WEAVING
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StaticWeaveException
public StaticWeaveException()
INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.
-
StaticWeaveException
protected StaticWeaveException(java.lang.String message)
INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.
-
StaticWeaveException
protected StaticWeaveException(java.lang.String message, java.lang.Throwable internalException)
INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.
-
-
Method Detail
-
exceptionOpeningArchive
public static StaticWeaveException exceptionOpeningArchive(java.net.URL archive, java.lang.Exception cause)
INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.
-
weaveInplaceForJar
public static StaticWeaveException weaveInplaceForJar(java.lang.String filePath)
INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.
-
missingSource
public static StaticWeaveException missingSource()
INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.
-
missingTarget
public static StaticWeaveException missingTarget()
INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.
-
openLoggingFileException
public static StaticWeaveException openLoggingFileException(java.lang.String LoggingFile, java.lang.Exception cause)
INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.
-
illegalLoggingLevel
public static StaticWeaveException illegalLoggingLevel(java.lang.String loggingLevel)
INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.
-
exceptionPerformWeaving
public static StaticWeaveException exceptionPerformWeaving(java.lang.Exception cause, java.lang.Object sourceJar)
-
getResourceName
public java.lang.String getResourceName()
-
setResourceName
public void setResourceName(java.lang.String resourceName)
-
-