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:
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(String className, String pluginKey, String pluginVersion)
           
CannotResolvePluginClassException(String reason, String className, String pluginKey, String pluginVersion)
           
 
Method Summary
static String formatMessage(String reason, String className, String pluginKey, String pluginVersion)
           
 String getClassName()
           
 String getPluginKey()
           
 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
                                         String className,
                                         @NotNull
                                         String pluginKey,
                                         @Nullable
                                         String pluginVersion)

CannotResolvePluginClassException

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

formatMessage

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

getClassName

public String getClassName()

getPluginKey

public String getPluginKey()

getPluginVersion

public String getPluginVersion()


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.