Class PDFNetException
PDFNetException is derived from the standard exception class and it is a superclass for all PDFNet library exceptions.
Inheritance
System.Object
System.Exception
PDFNetException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
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.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: pdftron.Common
Assembly: PDFNetAndroid.dll
Syntax
public class PDFNetException : Exception, ISerializable
Constructors
PDFNetException()
Declaration
public PDFNetException()
PDFNetException(IntPtr)
Declaration
public PDFNetException(IntPtr e)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | e |
PDFNetException(String, String, Int32, String, String, PDFNetException.ErrorCodes)
Declaration
public PDFNetException(string cond_expr, string filename, int linenumber, string function, string message, PDFNetException.ErrorCodes errorcode)
Parameters
Type | Name | Description |
---|---|---|
System.String | cond_expr | |
System.String | filename | |
System.Int32 | linenumber | |
System.String | function | |
System.String | message | |
PDFNetException.ErrorCodes | errorcode |
Methods
GetCondExpr()
Declaration
public string GetCondExpr()
Returns
Type | Description |
---|---|
System.String |
GetErrorCode()
Declaration
public PDFNetException.ErrorCodes GetErrorCode()
Returns
Type | Description |
---|---|
PDFNetException.ErrorCodes |
GetFileName()
Declaration
public string GetFileName()
Returns
Type | Description |
---|---|
System.String |
GetFullMessage()
Declaration
public string GetFullMessage()
Returns
Type | Description |
---|---|
System.String |
GetFunction()
Declaration
public string GetFunction()
Returns
Type | Description |
---|---|
System.String |
GetLineNumber()
Declaration
public int GetLineNumber()
Returns
Type | Description |
---|---|
System.Int32 |
GetMessage()
Declaration
public string GetMessage()
Returns
Type | Description |
---|---|
System.String |
GetMessageOnly()
Declaration
public string GetMessageOnly()
Returns
Type | Description |
---|---|
System.String |
Implements
System.Runtime.Serialization.ISerializable