Search Results for

    Show / Hide Table of Contents

    Class PTIException

    The root of all exception classes in PTIRelianceLib. For convenience, you may wrap library calls with a catcher for this class.

    using(var printer = new ReliancePrinter())
    {
        try
        {
            printer.FlashUpdateTarget(myFirmware, myReporter);
        }
        catch(PTIException ex)
        {
            Console.WriteLine(ex.Message);
        }    
    }
    Inheritance
    System.Object
    PTIException
    Namespace: PTIRelianceLib
    Assembly: PTIRelianceLib.dll
    Syntax
    public class PTIException : Exception

    Constructors

    | Improve this Doc View Source

    PTIException(String, Object[])

    Creates a new excception using convenience formatters

    Declaration
    public PTIException(string fmt, params object[] args)
    Parameters
    Type Name Description
    System.String fmt

    Format string

    System.Object[] args

    0 or more args for format string

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 Pyramid Technologies
    Generated by DocFX