Class CannotUnmarshalLinkException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.atlassian.confluence.content.render.xhtml.transformers.TransformationException
-
- com.atlassian.confluence.content.render.xhtml.editor.link.CannotUnmarshalLinkException
-
- All Implemented Interfaces:
Serializable
public class CannotUnmarshalLinkException extends TransformationException
Thrown when an editor formatted link cannot be unmarshalled.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CannotUnmarshalLinkException(ResourceIdentifier resourceIdentifier, String linkAlias, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLinkAlias()
ResourceIdentifier
getResourceIdentifier()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CannotUnmarshalLinkException
public CannotUnmarshalLinkException(ResourceIdentifier resourceIdentifier, String linkAlias, Throwable cause)
-
-
Method Detail
-
getResourceIdentifier
public ResourceIdentifier getResourceIdentifier()
- Returns:
- the ResourceIdentifier for the link if available. This may be null.
-
getLinkAlias
public String getLinkAlias()
- Returns:
- the alias for the link if available. This may be null.
-
-