The document discusses exception handling in PL/SQL. It defines exceptions as abnormal conditions that can occur during program execution. There are two types of exceptions: system-defined exceptions which are predefined by Oracle and user-defined exceptions which are declared by the user. The document provides examples of how to handle different system-defined exceptions like NO_DATA_FOUND, INVALID_CURSOR, CURSOR_ALREADY_OPENED, INVALID_NUMBER, and ZERO_DIVIDE. It also demonstrates how to declare and raise user-defined exceptions. The RAISE_APPLICATION_ERROR technique to specify custom error numbers and messages without an exception block is also covered.
Super keyword is a reference variable that is used for refer parent class object. Super keyword is used in java at three level, at variable level, at method level and at constructor level.
PL/SQL is a combination of SQL along with the procedural features of programming languages.
It provides specific syntax for this purpose and supports exactly the same datatypes as SQL.
In this you learn about Control Statements
1. Selection Statements
i. If
ii. If-else
iii. Nested-if
iv. If-Elseif ladder
2. Looping Statements
i. while loop
ii. do-while loop
iii. For loop
3. Jumping Statements
i. break
ii. continue
iii return
Super keyword is a reference variable that is used for refer parent class object. Super keyword is used in java at three level, at variable level, at method level and at constructor level.
PL/SQL is a combination of SQL along with the procedural features of programming languages.
It provides specific syntax for this purpose and supports exactly the same datatypes as SQL.
In this you learn about Control Statements
1. Selection Statements
i. If
ii. If-else
iii. Nested-if
iv. If-Elseif ladder
2. Looping Statements
i. while loop
ii. do-while loop
iii. For loop
3. Jumping Statements
i. break
ii. continue
iii return
OCA Java SE 8 Exam Chapter 6 Exceptionsİbrahim Kürce
A program can fail for just about any reason. Here are just a few possibilities:
The code tries to connect to a website, but the Internet connection is down.
You made a coding mistake and tried to access an invalid index in an array.
One method calls another with a value that the method doesn't support.
Exceptions are a powerful mechanism for centralized processing of errors and exceptional situations. This mechanism replaces the procedure-oriented method of error handling in which each function returns a code indicating an error or a successful execution.
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus
As part of the DOE Integrated Research Infrastructure (IRI) program, NERSC at Lawrence Berkeley National Lab and ALCF at Argonne National Lab are working closely with General Atomics on accelerating the computing requirements of the DIII-D experiment. As part of the work the team is investigating ways to speedup the time to solution for many different parts of the DIII-D workflow including how they run jobs on HPC systems. One of these routes is looking at Globus Compute as a way to replace the current method for managing tasks and we describe a brief proof of concept showing how Globus Compute could help to schedule jobs and be a tool to connect compute at different facilities.
Enterprise Resource Planning System includes various modules that reduce any business's workload. Additionally, it organizes the workflows, which drives towards enhancing productivity. Here are a detailed explanation of the ERP modules. Going through the points will help you understand how the software is changing the work dynamics.
To know more details here: https://blogs.nyggs.com/nyggs/enterprise-resource-planning-erp-system-modules/
Into the Box Keynote Day 2: Unveiling amazing updates and announcements for modern CFML developers! Get ready for exciting releases and updates on Ortus tools and products. Stay tuned for cutting-edge innovations designed to boost your productivity.
Navigating the Metaverse: A Journey into Virtual Evolution"Donna Lenk
Join us for an exploration of the Metaverse's evolution, where innovation meets imagination. Discover new dimensions of virtual events, engage with thought-provoking discussions, and witness the transformative power of digital realms."
A Comprehensive Look at Generative AI in Retail App Testing.pdfkalichargn70th171
Traditional software testing methods are being challenged in retail, where customer expectations and technological advancements continually shape the landscape. Enter generative AI—a transformative subset of artificial intelligence technologies poised to revolutionize software testing.
Listen to the keynote address and hear about the latest developments from Rachana Ananthakrishnan and Ian Foster who review the updates to the Globus Platform and Service, and the relevance of Globus to the scientific community as an automation platform to accelerate scientific discovery.
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Globus
The Earth System Grid Federation (ESGF) is a global network of data servers that archives and distributes the planet’s largest collection of Earth system model output for thousands of climate and environmental scientists worldwide. Many of these petabyte-scale data archives are located in proximity to large high-performance computing (HPC) or cloud computing resources, but the primary workflow for data users consists of transferring data, and applying computations on a different system. As a part of the ESGF 2.0 US project (funded by the United States Department of Energy Office of Science), we developed pre-defined data workflows, which can be run on-demand, capable of applying many data reduction and data analysis to the large ESGF data archives, transferring only the resultant analysis (ex. visualizations, smaller data files). In this talk, we will showcase a few of these workflows, highlighting how Globus Flows can be used for petabyte-scale climate analysis.
May Marketo Masterclass, London MUG May 22 2024.pdfAdele Miller
Can't make Adobe Summit in Vegas? No sweat because the EMEA Marketo Engage Champions are coming to London to share their Summit sessions, insights and more!
This is a MUG with a twist you don't want to miss.
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisGlobus
JASMIN is the UK’s high-performance data analysis platform for environmental science, operated by STFC on behalf of the UK Natural Environment Research Council (NERC). In addition to its role in hosting the CEDA Archive (NERC’s long-term repository for climate, atmospheric science & Earth observation data in the UK), JASMIN provides a collaborative platform to a community of around 2,000 scientists in the UK and beyond, providing nearly 400 environmental science projects with working space, compute resources and tools to facilitate their work. High-performance data transfer into and out of JASMIN has always been a key feature, with many scientists bringing model outputs from supercomputers elsewhere in the UK, to analyse against observational or other model data in the CEDA Archive. A growing number of JASMIN users are now realising the benefits of using the Globus service to provide reliable and efficient data movement and other tasks in this and other contexts. Further use cases involve long-distance (intercontinental) transfers to and from JASMIN, and collecting results from a mobile atmospheric radar system, pushing data to JASMIN via a lightweight Globus deployment. We provide details of how Globus fits into our current infrastructure, our experience of the recent migration to GCSv5.4, and of our interest in developing use of the wider ecosystem of Globus services for the benefit of our user community.
How Recreation Management Software Can Streamline Your Operations.pptxwottaspaceseo
Recreation management software streamlines operations by automating key tasks such as scheduling, registration, and payment processing, reducing manual workload and errors. It provides centralized management of facilities, classes, and events, ensuring efficient resource allocation and facility usage. The software offers user-friendly online portals for easy access to bookings and program information, enhancing customer experience. Real-time reporting and data analytics deliver insights into attendance and preferences, aiding in strategic decision-making. Additionally, effective communication tools keep participants and staff informed with timely updates. Overall, recreation management software enhances efficiency, improves service delivery, and boosts customer satisfaction.
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Globus
The U.S. Geological Survey (USGS) has made substantial investments in meeting evolving scientific, technical, and policy driven demands on storing, managing, and delivering data. As these demands continue to grow in complexity and scale, the USGS must continue to explore innovative solutions to improve its management, curation, sharing, delivering, and preservation approaches for large-scale research data. Supporting these needs, the USGS has partnered with the University of Chicago-Globus to research and develop advanced repository components and workflows leveraging its current investment in Globus. The primary outcome of this partnership includes the development of a prototype enterprise repository, driven by USGS Data Release requirements, through exploration and implementation of the entire suite of the Globus platform offerings, including Globus Flow, Globus Auth, Globus Transfer, and Globus Search. This presentation will provide insights into this research partnership, introduce the unique requirements and challenges being addressed and provide relevant project progress.
Quarkus Hidden and Forbidden ExtensionsMax Andersen
Quarkus has a vast extension ecosystem and is known for its subsonic and subatomic feature set. Some of these features are not as well known, and some extensions are less talked about, but that does not make them less interesting - quite the opposite.
Come join this talk to see some tips and tricks for using Quarkus and some of the lesser known features, extensions and development techniques.
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxrickgrimesss22
Discover the essential features to incorporate in your Winzo clone app to boost business growth, enhance user engagement, and drive revenue. Learn how to create a compelling gaming experience that stands out in the competitive market.
Enhancing Research Orchestration Capabilities at ORNL.pdfGlobus
Cross-facility research orchestration comes with ever-changing constraints regarding the availability and suitability of various compute and data resources. In short, a flexible data and processing fabric is needed to enable the dynamic redirection of data and compute tasks throughout the lifecycle of an experiment. In this talk, we illustrate how we easily leveraged Globus services to instrument the ACE research testbed at the Oak Ridge Leadership Computing Facility with flexible data and task orchestration capabilities.
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...informapgpstrackings
Keep tabs on your field staff effortlessly with Informap Technology Centre LLC. Real-time tracking, task assignment, and smart features for efficient management. Request a live demo today!
For more details, visit us : https://informapuae.com/field-staff-tracking/
In software engineering, the right architecture is essential for robust, scalable platforms. Wix has undergone a pivotal shift from event sourcing to a CRUD-based model for its microservices. This talk will chart the course of this pivotal journey.
Event sourcing, which records state changes as immutable events, provided robust auditing and "time travel" debugging for Wix Stores' microservices. Despite its benefits, the complexity it introduced in state management slowed development. Wix responded by adopting a simpler, unified CRUD model. This talk will explore the challenges of event sourcing and the advantages of Wix's new "CRUD on steroids" approach, which streamlines API integration and domain event management while preserving data integrity and system resilience.
Participants will gain valuable insights into Wix's strategies for ensuring atomicity in database updates and event production, as well as caching, materialization, and performance optimization techniques within a distributed system.
Join us to discover how Wix has mastered the art of balancing simplicity and extensibility, and learn how the re-adoption of the modest CRUD has turbocharged their development velocity, resilience, and scalability in a high-growth environment.
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Shahin Sheidaei
Games are powerful teaching tools, fostering hands-on engagement and fun. But they require careful consideration to succeed. Join me to explore factors in running and selecting games, ensuring they serve as effective teaching tools. Learn to maintain focus on learning objectives while playing, and how to measure the ROI of gaming in education. Discover strategies for pitching gaming to leadership. This session offers insights, tips, and examples for coaches, team leads, and enterprise leaders seeking to teach from simple to complex concepts.
Check out the webinar slides to learn more about how XfilesPro transforms Salesforce document management by leveraging its world-class applications. For more details, please connect with sales@xfilespro.com
If you want to watch the on-demand webinar, please click here: https://www.xfilespro.com/webinars/salesforce-document-management-2-0-smarter-faster-better/
1. Prepared By JAVATECH “Search us in The World”
1
EXCEPTION HANDLING IN PLSQL
What is exception ?
Exceptions are abnormal condition that can be occur during the execution of
program.
Exceptions are used to handled run-time errors in PLSQL. And to handled
that exception PLSQL specified exception block is called Exception Block.
E.g.
2. Prepared By JAVATECH “Search us in The World”
2
Exceptions are two types
1. System Defined Exception
2. User Defined Exception
System Defined Exception
System Defined Exceptions are defined by Oracle Server. This exceptions
contains some predefined error numbers with predefined error messages.
These numbers and messages are
SYSTEM_EXCEPTION ERROR_NO DESCRIPTION
NO_DATA_FOUND ORA-01403 QUERY RETURN NO DATA
INVALID_CURSOR ORA-01001 ILLEGAL CURSOR OPERATION OCCURRED IN PROGRAM
CURSOR_ALREADY_OPEN ORA-06511 TRY TO OPEN “ALREADY OPENED CURSOR”
INVALID_NUMBER ORA-01722 FAILED TO CONVERT FROM CHARACTER TO NUMBER
ZERO_DIVIDE ORA-01476 ATTEMT TO DIVIDE BY ZERO (ARITHMETICEXCEPTION IN JAVA)
Prepared By JAVATECH “Search us in The World”
User defined Exception
This exception is defined by user. You declare identifier with exception
datatype. And it will de declare in declare section. And raised it inside the
begin block. And if exception generated then control will automatically
transferred to exception block. And exception message will displayed. There
are some exception which are generated in our program but system is not
defined. To control that exception we use user defined exceptions
3. Prepared By JAVATECH “Search us in The World”
3
EXCEPTION STRUCTURE
Above diagram In User Defined Exception we use Raise keyword to send
exception to specified identifier.
Description
1. Declare part is used to declare variable, Exception Variable &
Constants.
2. My_Exec is a variable which is defined Exception type. When
exception will generate then My_Exce part will be executed. In java
we write class My_Exec extends Exception to create user defined
exception.
3. Between begin & Exception part your exception will be generate. So if
you think exception may be occur then use raise keyword and give the
exception variable name. Just I wrote Raise My_Exec.
4. Define that exception with error message. You will write
4. Prepared By JAVATECH “Search us in The World”
4
when My_Exec then
dbms_output.put_line(‘Your own error message’);
end;
Now I will first show you one by one system defined exception then I will
go to user defined exception.
My_Table name STD99;
NO_DATA_FOUND Exception
Wap in PLSQL to display the row whose roll no is 9. Means roll 9 doesn’t
exist then here NO_DATA_FOUND exception will generate.
5. Prepared By JAVATECH “Search us in The World”
5
INVALID_CURSOR Exception program
It is occurred in three conditions.
Actually rules of cursor is
1. Declare
2. Open
3. Fetch
4. Close
When it will be invalid_cursor (If you perform invalid cursor operation)
If fetch before opening cursor (I have done in my example. I first fetch
then open cursor. It is wrong. Without open cursor how you will fetch
first.)
You closed cursor before open
You fetched cursor after closing cursor.
6. Prepared By JAVATECH “Search us in The World”
6
CURSOR_ALREADY_OPENED Exception program.
It is generated if you try to open cursor which is previously already opened.
INVALID_NUMBER in java it is called NumberFormatException. It is
generated when you try to insert string data in numeric column in databse.
If string data is numeric type then oracle server implicit convert it.
Otherwise raise INVALID_NUMBER Exception.
7. Prepared By JAVATECH “Search us in The World”
7
See Example.
ZERO_DIVIDE Exception ( in java is called ArithmeticException )
When you try to divide any number by zero it generates ZERO_DIVIDE
exception.
Watch example…..
8. Prepared By JAVATECH “Search us in The World”
8
Now I will discuss user defined exception
Previous program system automatically know number is divide by zero in
z:=x/y line. But user defined exception we check if y enter number is equal
to zero then we explicitly generate exception by using raise keyword. And in
raise keyword we specify exception identifier name.
E.g
MyExec Exception; here MyExec is a identifier which is declared Exception
type. And we check y is zero or not if zero raise MyExec
If y=0 then
Raise MyExec;
And in Exception block previously we specified ZERO_DIVIDE system defined
Exception. But here we use our defined as “MyExec” see how…
When ZERO_DIVIDE then
Dbms_output.put_line(‘Divide by zero is not possible’);
End
But User defined we write
When MyExec then
Dbms_output.put_line(‘Divide by zero is not possible’);
End;
9. Prepared By JAVATECH “Search us in The World”
9
See Exmple…..
RAISE_APPLICATION_ERROR
Is there any technique without define exception block we can specify our
user defined error message with our own error no. Yes there is technique
called RAISE_APPLICATION_ERROR(erro_no,err_message)
Error_no range should be -20,000 to -20,999 [ give the - minus symbol ]
Message upto 2048 byte long
Where to specify it. You will write in begin section directly with errno and
err message. Generally it is defined in your user defined exception. After use
10. Prepared By JAVATECH “Search us in The World”
10
raise_application_error your program is terminated there. No further
executed.
See Examples….. with zero divide exception
FIND MORE SEARCH US IN FACEBOOK “JAVATECH 123”
***********Thanking You.************