EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.exceptions
Class StaticWeaveException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.persistence.exceptions.EclipseLinkException
                  extended by org.eclipse.persistence.exceptions.StaticWeaveException
All Implemented Interfaces:
java.io.Serializable

public class StaticWeaveException
extends EclipseLinkException

See Also:
Serialized Form

Field Summary
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
  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
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, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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)

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference