Class LanguageNotFoundException
Thrown when a requested language is not found.
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 7.19.2Syntax
[Obsolete("This Exception is not used anymore. Now if a request is made for a specific language that does not exist for the page, null is returned")]
public class LanguageNotFoundException : EPiServerException, ISerializable, _Exception
Constructors
LanguageNotFoundException(PageReference, String)
Initializes a new instance of the LanguageNotFoundException class.
Declaration
public LanguageNotFoundException(PageReference pageLink, string languageBranch)
Parameters
Type | Name | Description |
---|---|---|
PageReference | pageLink | The page link. |
System.String | languageBranch | The language branch. |
Properties
PageLink
The page the exception was thrown for
Declaration
public PageReference PageLink { get; }
Property Value
Type | Description |
---|---|
PageReference |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception