Java Doc for CompilationError.java in  » Ajax » Laszlo-4.0.10 » org » openlaszlo » compiler » 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 » Ajax » Laszlo 4.0.10 » org.openlaszlo.compiler 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.lang.RuntimeException
            org.openlaszlo.compiler.CompilationError

All known Subclasses:   org.openlaszlo.compiler.InvalidFontSpec,
CompilationError
public class CompilationError extends RuntimeException (Code)
Represents an error that occurred during the invocation of the interface compiler.


Field Summary
public static  booleanThrowCompilationErrors
     Set this to true to throw compilation errors that have a cause, instead of wrapping them in instances of CompilationError.

Constructor Summary
public  CompilationError(String message)
     Constructs an instance.
public  CompilationError(String message, Element element)
     Constructs an instance.
public  CompilationError(Element element, Throwable cause)
     Constructs an instance.
public  CompilationError(Element element, String attribute, Throwable cause)
    
public  CompilationError(Throwable cause, String solution)
    
public  CompilationError(Throwable cause)
     Constructs an instance.

Method Summary
public  voidattachErrors(List errors)
    
public  IntegergetColumnNumber()
     Returns the column number at which this error occurred, or null if this can't be determined.
public  ElementgetElement()
     Returns the element at which the error occurred.
public  StringgetErrorMessage()
    
public  IntegergetLineNumber()
     Returns the line number at which this error occurred, or null if this can't be determined.
public  StringgetMessage(File base)
     Return a message describing the error.
public  StringgetMessage(String base)
     Return a message describing the error.
public  StringgetMessage()
    
public  StringgetPathname()
     Returns the name of the file within which this error occurred.
public  StringgetSolutionMessage()
    
public  voidinitColumnNumber(int columnNumber)
    
 voidinitElement(Element element)
     Initializes this instance's element to the specified parameter.
 voidinitElement(Element element, Throwable cause)
    
 voidinitElement(Element element, String attribute, Throwable cause)
    
public  voidinitLineNumber(int lineNumber)
    
public  voidinitPathname(String pathname)
     Initializes this instance's pathname to the specified parameter.
public  voidsetColumnNumber(int columnNumber)
    
public  voidsetFileBase(String fileBase)
    
public  voidsetLineNumber(int lineNumber)
    
public  voidsetPathname(String pathname)
    
public  voidsetSolution(String sol)
     Set the 'solution message', a hint as to what might have caused this error.
public  StringtoHTML()
    
public  StringtoXML()
    

Field Detail
ThrowCompilationErrors
public static boolean ThrowCompilationErrors(Code)
Set this to true to throw compilation errors that have a cause, instead of wrapping them in instances of CompilationError. This is useful for debugging the compiler.




Constructor Detail
CompilationError
public CompilationError(String message)(Code)
Constructs an instance.
Parameters:
  message - a string



CompilationError
public CompilationError(String message, Element element)(Code)
Constructs an instance.
Parameters:
  message - a string
Parameters:
  element - the element within which the error occurred



CompilationError
public CompilationError(Element element, Throwable cause)(Code)
Constructs an instance.
Parameters:
  element - the element within which the error occurred
Parameters:
  cause - the chained cause of the error



CompilationError
public CompilationError(Element element, String attribute, Throwable cause)(Code)



CompilationError
public CompilationError(Throwable cause, String solution)(Code)



CompilationError
public CompilationError(Throwable cause)(Code)
Constructs an instance.
Parameters:
  cause - the chained cause of the error




Method Detail
attachErrors
public void attachErrors(List errors)(Code)



getColumnNumber
public Integer getColumnNumber()(Code)
Returns the column number at which this error occurred, or null if this can't be determined. the line number at which the error occurred



getElement
public Element getElement()(Code)
Returns the element at which the error occurred. the element at which the error occurred



getErrorMessage
public String getErrorMessage()(Code)
the error message w/out the filename and line, col numbersXXX This doesn't seem to work.



getLineNumber
public Integer getLineNumber()(Code)
Returns the line number at which this error occurred, or null if this can't be determined. the line number at which the error occurred



getMessage
public String getMessage(File base)(Code)
Return a message describing the error.
Parameters:
  base - pathname prefix to strip out from error messages a message describing the error



getMessage
public String getMessage(String base)(Code)
Return a message describing the error.
Parameters:
  base - pathname prefix to strip out from error messages a message describing the error



getMessage
public String getMessage()(Code)



getPathname
public String getPathname()(Code)
Returns the name of the file within which this error occurred. the name of the file within which the error occurred



getSolutionMessage
public String getSolutionMessage()(Code)



initColumnNumber
public void initColumnNumber(int columnNumber)(Code)



initElement
void initElement(Element element)(Code)
Initializes this instance's element to the specified parameter. May be called at most once, and only if the element wasn't initialized in the constructor.
Parameters:
  element - the element at which the error occurred



initElement
void initElement(Element element, Throwable cause)(Code)



initElement
void initElement(Element element, String attribute, Throwable cause)(Code)



initLineNumber
public void initLineNumber(int lineNumber)(Code)



initPathname
public void initPathname(String pathname)(Code)
Initializes this instance's pathname to the specified parameter. May be called at most once, and only if the pathname wasn't initialized in the constructor.
Parameters:
  pathname - the name of the file at which the error occurred



setColumnNumber
public void setColumnNumber(int columnNumber)(Code)



setFileBase
public void setFileBase(String fileBase)(Code)



setLineNumber
public void setLineNumber(int lineNumber)(Code)



setPathname
public void setPathname(String pathname)(Code)



setSolution
public void setSolution(String sol)(Code)
Set the 'solution message', a hint as to what might have caused this error.
Parameters:
  sol - a helpful message to be appended to the error message



toHTML
public String toHTML()(Code)



toXML
public String toXML()(Code)





Methods inherited from java.lang.Throwable
native public synchronized Throwable fillInStackTrace()(Code)(Java Doc)
public Throwable getCause()(Code)(Java Doc)
public String getLocalizedMessage()(Code)(Java Doc)
public String getMessage()(Code)(Java Doc)
public StackTraceElement[] getStackTrace()(Code)(Java Doc)
public synchronized Throwable initCause(Throwable cause)(Code)(Java Doc)
public void printStackTrace()(Code)(Java Doc)
public void printStackTrace(PrintStream s)(Code)(Java Doc)
public void printStackTrace(PrintWriter s)(Code)(Java Doc)
public void setStackTrace(StackTraceElement[] stackTrace)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.