OSGi™ Core
Release 5

org.osgi.framework.hooks.weaving
Class WeavingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.osgi.framework.hooks.weaving.WeavingException
All Implemented Interfaces:
java.io.Serializable

public class WeavingException
extends java.lang.RuntimeException

A weaving exception used to indicate that the class load should be failed but the weaving hook must not be blacklisted by the framework.

This exception conforms to the general purpose exception chaining mechanism.

See Also:
Serialized Form

Constructor Summary
WeavingException(java.lang.String msg)
          Creates a WeavingException with the specified message.
WeavingException(java.lang.String msg, java.lang.Throwable cause)
          Creates a WeavingException with the specified message and exception cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeavingException

public WeavingException(java.lang.String msg,
                        java.lang.Throwable cause)
Creates a WeavingException with the specified message and exception cause.

Parameters:
msg - The associated message.
cause - The cause of this exception.

WeavingException

public WeavingException(java.lang.String msg)
Creates a WeavingException with the specified message.

Parameters:
msg - The message.

OSGi™ Core
Release 5

Copyright © OSGi Alliance (2000, 2012). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0