5 Feb 2008 Roberta Allsman LSST Corporation LSST Data Management DC2 Post-mortem.

Slides:



Advertisements
Similar presentations
IDEAL INFORMATION WORLD Integration (documents, tasks, records, applications) Common (Shared) User Database Effective Workflow (with reminders) Easy, Logical.
Advertisements

Exception Handling – illustrated by Java mMIC-SFT November 2003 Anders P. Ravn Aalborg University.
1 Week 11 l Basic Exception Handling »the mechanics of exceptions l Defining and Using Exceptions »some "simple" cases l Reality Check »guidelines for.
Review Linked list: Doubly linked list, insertback, insertbefore Remove Search.
EXCEPTION HANDLING ► COURSE : MSc Computers and Network engineering. ► Name : Kirthidhar Gandham ► Module : Object Oriented Methods ( ) ► Module.
Objectives In this chapter you will: Learn what an exception is Learn how to handle exceptions within a program See how a try / catch block is used to.
Chapter 8Java: an Introduction to Computer Science & Programming - Walter Savitch 1 Chapter 8 l Basic Exception Handling »the mechanics of exceptions l.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 16: Exception Handling.
Jerry Lebowitz. Topics  Provides a facility for a systematic object oriented approach to handling runtime errors ◦ Can also handle runtime errors.
1 DPS for DC2 Summary Model Implementation –Pipeline & Slice in Python and C++ Stage Loop, Policy configuration, Event handling in Python MPI env and communications.
Debugging Techniques1. 2 Introduction Bugs How to debug Using of debugger provided by the IDE Exception Handling Techniques.
Curriculum A multitude of definitions. Textbook definition of curriculum the formal or informal content and process by which students gain knowledge and.
API Design CPSC 315 – Programming Studio Fall 2008 Follows Kernighan and Pike, The Practice of Programming and Joshua Bloch’s Library-Centric Software.
Exception Handling. Background The fact that software modules should be robust enough to work under every situation. The exception handling mechanism.
SAX A parser for XML Documents. XML Parsers What is an XML parser? –Software that reads and parses XML –Passes data to the invoking application –The application.
Generic API Test tool By Moshe Sapir Almog Masika Instructor Zvika Berkovic.
© Copyright Eliyahu Brutman Exceptions. © Copyright Eliyahu Brutman Exceptions and Design Patterns - 2 Introduction to Exception Handling Definition:
Exception Handling An Exception is an indication of a problem that occurs during a program’s execution. Exception handling enables the programmer to create.
Distributed Systems Tutorial 3 -.NET Remoting – Crossing Application Boundaries.
Unit 5 Simple Present, Time Clauses, Used To, and Would.
DotNetNuke v4 on ASP.NET v2 Stan Schultes Stan Schultes Enterprise architect / application developer Enterprise architect / application developer Conference.
What is an exception? An exception is: – an event that interrupts the normal processing of the program. –an error condition that violates the semantic.
1 CSC241: Object Oriented Programming Lecture No 27.
Understanding Events and Exceptions Lesson 3. Objective Domain Matrix Skills/ConceptsMTA Exam Objectives Understand events and event handling Understand.
Slides Credit Umair Javed LUMS Web Application Development.
17. Python Exceptions Handling Python provides two very important features to handle any unexpected error in your Python programs and to add debugging.
The Pipeline Processing Framework LSST Applications Meeting IPAC Feb. 19, 2008 Raymond Plante National Center for Supercomputing Applications.
5 Feb 2008 Roberta Allsman LSST Corporation LSST Data Management DC2 Post-mortem.
07 Coding Conventions. 2 Demonstrate Developing Local Variables Describe Separating Public and Private Members during Declaration Explore Using System.exit.
Program documentation Using the Doxygen tool Program documentation1.
CIS 3301 C# Lesson 13 Interfaces. CIS 3302 Objectives Understand the Purpose of Interfaces. Define an Interface. Use an Interface. Implement Interface.
I NTRODUCTION TO PROGRAMMING Starting Out with Java: From Control Structures through Objects CS 146 Class Notes Fall 10.
Sharing Design Knowledge through the IMS Learning Design Specification Dawn Howard-Rose Kevin Harrigan David Bean University of Waterloo McGraw-Hill Ryerson.
BIO Java 1 Exception Handling Aborting program not always a good idea – can’t lose messages – E-commerce: must ensure correct handling of private.
Microscope Middleware Stand 29. Mai Microscope Manager Design Java SWIG MMCoreJ_wrap C++ MMCore C++ Device Drivers 1 class, 244 methods 6306 loc,
© Mohamed Nuzrath Java Programming :: Chapter 6 :: Prepared & Presented By :: Mohamed Nuzrath [ Major In Programming ] NCC Programme coordinator IT Lecturer.
Legion - A Grid OS. Object Model Everything is object Core objects - processing resource– host object - stable storage - vault object - definition of.
Computer Programming with JAVA Chapter 8. Exception Handling Basic Exception Handling the mechanics of exceptions Defining and Using Exceptions some "simple"
1 An Exception is… An unusual, often unpredictable event, detectable by software or hardware, that requires special processing An exception handler is.
Exceptions in C++. Exceptions  Exceptions provide a way to handle the errors generated by our programs by transferring control to functions called handlers.
Exceptions and Assertions Chapter 15 – CSCI 1302.
LSST DC2 Post-Mortem February 5–6, DataProperty Generally works Uses: –FITS headers –Events –Persistence parameters (additionalData)‏ 1.
11. EXCEPTION HANDLING Rocky K. C. Chang October 18, 2015 (Adapted from John Zelle’s slides)
Discover Document Validate Develop Stakeholders. businesses (processes) departments (activities) individuals (tasks) Soft Systems work (social) Requirements.
ECE122 L23: Exceptions December 6, 2007 ECE 122 Engineering Problem Solving with Java Lecture 24 Exceptions.
LSST DC2 Post-Mortem February 5–6, DataProperty Generally works Uses: –FITS headers –Events –Persistence parameters (additionalData) 1.
Online Model - Goals Program package in Python to obtain and manipulate a online model of the machine Highly modular approach which allows for include.
FILES AND EXCEPTIONS Topics Introduction to File Input and Output Using Loops to Process Files Processing Records Exceptions.
Setting up your online class to meet the most commonly requested accommodations.
Office 365 Development July 2014.
Plan for today Open-Closed and Quizmaster
Plugins & Hooks (Basics) Introduction to Concepts and Basic Examples
C++ Exceptions.
Exceptions Error Handling and Recovery
Coding Defensively Coding Defensively
© 2016, Mike Murach & Associates, Inc.
Exceptions C++ Interlude 3
Tips Need to Consider When Organizing a College Event
CNS 3260 C# .NET Software Development
Vertical Feature Slices Not Layers
Topics Introduction to File Input and Output
דיני חברות ד"ר ויקטור ח. בוגנים
آقای دکتر گلزاری سرکار خانم چراغی آبان 95
Using the Hierarchy Workbench
Chapter 12 Exception Handling and Text IO
ماجستير إدارة المعارض من بريطانيا
Exception Handling in Java
A parser for XML Documents
Topics Introduction to File Input and Output
Module 10: Creating Transactional Business Processes
Presentation transcript:

5 Feb 2008 Roberta Allsman LSST Corporation LSST Data Management DC2 Post-mortem

2 DC2 LSSTException Use Vision of Use Reality of Use The Future

3 Vision of Use The core set of LSST Exceptions would support runtime exception situations. Developers would be able to create module specific exceptions derived from base LsstException class.

4 Vision of Use The state of the environment at the 'throw' –would be passed up the exception chain enabling the receiving exception handlers to support real-time recovery. –The data would be formatted as LSST DataProperties. The class throwing an LSST exception –would document all data provided to the receiver's exception handler.

5 Reality of Lsst Exception Use

6 Reality of Use Some Modules are using generic system exceptions C++ –mwi (Policy), fw, events Python –Mwi (Policy), fw, dps, events Some Modules define additional system exceptions C++ –Mwi (Policy), events

7 Reality of Use No Module adds extra data to Lsst Exceptions. Simple search showed 71 documented '\throw' I suspect some thrown exceptions are not be documented.

8 The Future Uniformity –mwi:Policy should use LsstException Intent is there since there is a “// TODO: use LSST exceptions” in mwi/src/Policy/Policy.cc –events and dps should consider using LsstException –other modules should examine their use of non- LsstException exceptions.

9 The Future Question Should Lsst Exceptions continue to support passing debug data to the exception handler?