Java Doc for ExceptionBreakpoint.java in  » IDE-Netbeans » ant » org » netbeans » api » debugger » jpda » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » ant » org.netbeans.api.debugger.jpda 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.api.debugger.jpda.JPDABreakpoint
   org.netbeans.api.debugger.jpda.ExceptionBreakpoint

ExceptionBreakpoint
final public class ExceptionBreakpoint extends JPDABreakpoint (Code)
Notifies about exceptions throw in debugged JVM.

How to use it:
 DebuggerManager.addBreakpoint (ExceptionBreakpoint.create (
 "java.lang.NullPointerException",
 ExceptionBreakpoint.TYPE_EXCEPTION_UNCATCHED
 ));
This breakpoint stops when NullPointerException is throw and uncatched.
author:
   Jan Jancura


Field Summary
final public static  StringPROP_CATCH_TYPE
     Property name constant.
final public static  StringPROP_CLASS_EXCLUSION_FILTERS
    
final public static  StringPROP_CLASS_FILTERS
    
final public static  StringPROP_CONDITION
     Property name constant.
final public static  StringPROP_EXCEPTION_CLASS_NAME
    
final public static  intTYPE_EXCEPTION_CATCHED
     Catch type constant.
final public static  intTYPE_EXCEPTION_CATCHED_UNCATCHED
     Catch type constant.
final public static  intTYPE_EXCEPTION_UNCATCHED
     Catch type constant.


Method Summary
public static  ExceptionBreakpointcreate(String exceptionClassName, int catchType)
     Creates a new breakpoint for given parameters.
public  intgetCatchType()
     Returns breakpoint type property value.
public  String[]getClassExclusionFilters()
     Get list of class exclusion filters to stop on.
public  String[]getClassFilters()
     Get list of class filters to stop on.
public  StringgetCondition()
     Returns condition.
public  StringgetExceptionClassName()
     Get name of exception class to stop on.
public  voidsetCatchType(int catchType)
     Sets breakpoint type property value.
public  voidsetClassExclusionFilters(String[] classExclusionFilters)
     Set list of class exclusion filters to stop on.
public  voidsetClassFilters(String[] classFilters)
     Set list of class filters to stop on.
public  voidsetCondition(String cond)
     Sets condition.
public  voidsetExceptionClassName(String cn)
     Set name of exception class to stop on.
public  StringtoString()
     Returns a string representation of this object.

Field Detail
PROP_CATCH_TYPE
final public static String PROP_CATCH_TYPE(Code)
Property name constant.



PROP_CLASS_EXCLUSION_FILTERS
final public static String PROP_CLASS_EXCLUSION_FILTERS(Code)
Property name constant



PROP_CLASS_FILTERS
final public static String PROP_CLASS_FILTERS(Code)
Property name constant



PROP_CONDITION
final public static String PROP_CONDITION(Code)
Property name constant.



PROP_EXCEPTION_CLASS_NAME
final public static String PROP_EXCEPTION_CLASS_NAME(Code)
Property name constant



TYPE_EXCEPTION_CATCHED
final public static int TYPE_EXCEPTION_CATCHED(Code)
Catch type constant.



TYPE_EXCEPTION_CATCHED_UNCATCHED
final public static int TYPE_EXCEPTION_CATCHED_UNCATCHED(Code)
Catch type constant.



TYPE_EXCEPTION_UNCATCHED
final public static int TYPE_EXCEPTION_UNCATCHED(Code)
Catch type constant.





Method Detail
create
public static ExceptionBreakpoint create(String exceptionClassName, int catchType)(Code)
Creates a new breakpoint for given parameters.
Parameters:
  exceptionClassName - class name filter
Parameters:
  catchType - one of constants: TYPE_EXCEPTION_CATCHED, TYPE_EXCEPTION_UNCATCHED, TYPE_EXCEPTION_CATCHED_UNCATCHED a new breakpoint for given parameters



getCatchType
public int getCatchType()(Code)
Returns breakpoint type property value. breakpoint type property value.



getClassExclusionFilters
public String[] getClassExclusionFilters()(Code)
Get list of class exclusion filters to stop on. list of class exclusion filters to stop on



getClassFilters
public String[] getClassFilters()(Code)
Get list of class filters to stop on. list of class filters to stop on



getCondition
public String getCondition()(Code)
Returns condition. cond a condition



getExceptionClassName
public String getExceptionClassName()(Code)
Get name of exception class to stop on. name of exception class to stop on



setCatchType
public void setCatchType(int catchType)(Code)
Sets breakpoint type property value.
Parameters:
  catchType - a new value of breakpoint type property value



setClassExclusionFilters
public void setClassExclusionFilters(String[] classExclusionFilters)(Code)
Set list of class exclusion filters to stop on.
Parameters:
  classExclusionFilters - a new value of class exclusion filters property



setClassFilters
public void setClassFilters(String[] classFilters)(Code)
Set list of class filters to stop on.
Parameters:
  classFilters - a new value of class filters property



setCondition
public void setCondition(String cond)(Code)
Sets condition.
Parameters:
  cond - a c new condition



setExceptionClassName
public void setExceptionClassName(String cn)(Code)
Set name of exception class to stop on.
Parameters:
  cn - a new name of exception class to stop on.



toString
public String toString()(Code)
Returns a string representation of this object. a string representation of the object



Fields inherited from org.netbeans.api.debugger.jpda.JPDABreakpoint
final public static String PROP_HIDDEN(Code)(Java Doc)
final public static String PROP_PRINT_TEXT(Code)(Java Doc)
final public static String PROP_SUSPEND(Code)(Java Doc)
final public static int SUSPEND_ALL(Code)(Java Doc)
final public static int SUSPEND_EVENT_THREAD(Code)(Java Doc)
final public static int SUSPEND_NONE(Code)(Java Doc)

Methods inherited from org.netbeans.api.debugger.jpda.JPDABreakpoint
public synchronized void addJPDABreakpointListener(JPDABreakpointListener listener)(Code)(Java Doc)
public void disable()(Code)(Java Doc)
public void enable()(Code)(Java Doc)
void fireJPDABreakpointChange(JPDABreakpointEvent event)(Code)(Java Doc)
public String getPrintText()(Code)(Java Doc)
public int getSuspend()(Code)(Java Doc)
public boolean isEnabled()(Code)(Java Doc)
public boolean isHidden()(Code)(Java Doc)
public synchronized void removeJPDABreakpointListener(JPDABreakpointListener listener)(Code)(Java Doc)
public void setHidden(boolean h)(Code)(Java Doc)
public void setPrintText(String printText)(Code)(Java Doc)
public void setSuspend(int s)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.