EclipseLink 1.0_1.0M2 API Reference - Incubation

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: TopLink exceptions should only be thrown by TopLink.
protected StaticWeaveException(java.lang.String message)
          INTERNAL: TopLink exceptions should only be thrown by TopLink.
protected StaticWeaveException(java.lang.String message, java.lang.Throwable internalException)
          INTERNAL: TopLink exceptions should only be thrown by TopLink.
 
Method Summary
static StaticWeaveException exceptionOpeningArchive(java.net.URL archive, java.lang.Exception cause)
          INTERNAL: TopLink exceptions should only be thrown by TopLink.
static StaticWeaveException exceptionPerformWeaving(java.lang.Exception cause)
           
 java.lang.String getResourceName()
           
static StaticWeaveException illegalLoggingLevel(java.lang.String loggingLevel)
          INTERNAL: TopLink exceptions should only be thrown by TopLink.
static StaticWeaveException missingSource()
          INTERNAL: TopLink exceptions should only be thrown by TopLink.
static StaticWeaveException missingTarget()
          INTERNAL: TopLink exceptions should only be thrown by TopLink.
static StaticWeaveException openLoggingFileException(java.lang.String LoggingFile, java.lang.Exception cause)
          INTERNAL: TopLink exceptions should only be thrown by TopLink.
 void setResourceName(java.lang.String resourceName)
           
static StaticWeaveException weaveInplaceForJar(java.lang.String filePath)
          INTERNAL: TopLink exceptions should only be thrown by TopLink.
 
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: TopLink exceptions should only be thrown by TopLink.


StaticWeaveException

protected StaticWeaveException(java.lang.String message)
INTERNAL: TopLink exceptions should only be thrown by TopLink.


StaticWeaveException

protected StaticWeaveException(java.lang.String message,
                               java.lang.Throwable internalException)
INTERNAL: TopLink exceptions should only be thrown by TopLink.

Method Detail

exceptionOpeningArchive

public static StaticWeaveException exceptionOpeningArchive(java.net.URL archive,
                                                           java.lang.Exception cause)
INTERNAL: TopLink exceptions should only be thrown by TopLink.


weaveInplaceForJar

public static StaticWeaveException weaveInplaceForJar(java.lang.String filePath)
INTERNAL: TopLink exceptions should only be thrown by TopLink.


missingSource

public static StaticWeaveException missingSource()
INTERNAL: TopLink exceptions should only be thrown by TopLink.


missingTarget

public static StaticWeaveException missingTarget()
INTERNAL: TopLink exceptions should only be thrown by TopLink.


openLoggingFileException

public static StaticWeaveException openLoggingFileException(java.lang.String LoggingFile,
                                                            java.lang.Exception cause)
INTERNAL: TopLink exceptions should only be thrown by TopLink.


illegalLoggingLevel

public static StaticWeaveException illegalLoggingLevel(java.lang.String loggingLevel)
INTERNAL: TopLink exceptions should only be thrown by TopLink.


exceptionPerformWeaving

public static StaticWeaveException exceptionPerformWeaving(java.lang.Exception cause)

getResourceName

public java.lang.String getResourceName()

setResourceName

public void setResourceName(java.lang.String resourceName)

EclipseLink 1.0_1.0M2 API Reference - Incubation