com.atlassian.bamboo.serialization.xstream
Class CannotResolvePluginClassException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.thoughtworks.xstream.core.BaseException
                  extended by com.thoughtworks.xstream.XStreamException
                      extended by com.thoughtworks.xstream.mapper.CannotResolveClassException
                          extended by com.atlassian.bamboo.serialization.xstream.CannotResolvePluginClassException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
IncompatiblePluginVersionException, OwningPluginNotInstalledException

public class CannotResolvePluginClassException
extends com.thoughtworks.xstream.mapper.CannotResolveClassException

Thrown when attempting to deserialize class from a plugin fails.

Since:
v3.3
See Also:
Serialized Form

Constructor Summary
CannotResolvePluginClassException(java.lang.String className, java.lang.String pluginKey, java.lang.String pluginVersion)
           
CannotResolvePluginClassException(java.lang.String reason, java.lang.String className, java.lang.String pluginKey, java.lang.String pluginVersion)
           
 
Method Summary
static java.lang.String formatMessage(java.lang.String reason, java.lang.String className, java.lang.String pluginKey, java.lang.String pluginVersion)
           
 java.lang.String getClassName()
           
 java.lang.String getPluginKey()
           
 java.lang.String getPluginVersion()
           
 
Methods inherited from class com.thoughtworks.xstream.XStreamException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CannotResolvePluginClassException

public CannotResolvePluginClassException(@NotNull
                                         java.lang.String className,
                                         @NotNull
                                         java.lang.String pluginKey,
                                         @Nullable
                                         java.lang.String pluginVersion)

CannotResolvePluginClassException

public CannotResolvePluginClassException(@Nullable
                                         java.lang.String reason,
                                         @NotNull
                                         java.lang.String className,
                                         @NotNull
                                         java.lang.String pluginKey,
                                         @Nullable
                                         java.lang.String pluginVersion)
Method Detail

formatMessage

public static java.lang.String formatMessage(@Nullable
                                             java.lang.String reason,
                                             @NotNull
                                             java.lang.String className,
                                             @NotNull
                                             java.lang.String pluginKey,
                                             @Nullable
                                             java.lang.String pluginVersion)

getClassName

public java.lang.String getClassName()

getPluginKey

public java.lang.String getPluginKey()

getPluginVersion

public java.lang.String getPluginVersion()


Copyright © 2011 Atlassian. All Rights Reserved.