Java Doc for ShaderError.java in  » 6.0-JDK-Modules » java-3d » javax » media » j3d » 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 » 6.0 JDK Modules » java 3d » javax.media.j3d 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.media.j3d.ShaderError

ShaderError
public class ShaderError extends Object (Code)
ShaderError is a container object that holds the details of a runtime error that occurs while compiling or executing a programmable shader.
since:
   Java 3D 1.4


Field Summary
final public static  intCOMPILE_ERROR
     Indicates that an error occurred while compiling a shader.
final public static  intLINK_ERROR
     Indicates that an error occurred while linking a shader.
final public static  intNO_ERROR
     Indicates that no error occurred.
final public static  intSHADER_ATTRIBUTE_LOOKUP_ERROR
     Indicates a error in looking up the location of a uniform shader attribute name within a given shader program.
final public static  intSHADER_ATTRIBUTE_NAME_NOT_SET_ERROR
     Indicates a error caused by a ShaderAttribute whose name does not appear in the list of shader attribute names in the corresponding ShaderProgram object.
final public static  intSHADER_ATTRIBUTE_TYPE_ERROR
     Indicates a error in the type of the attribute versus what the shader program was expecting.
final public static  intUNSUPPORTED_LANGUAGE_ERROR
     Indicates that the specified shading language is not supported on the screen display device.
final public static  intVERTEX_ATTRIBUTE_LOOKUP_ERROR
     Indicates a error in looking up a vertex attribute name within a given shader program.

Constructor Summary
public  ShaderError()
     Constructs a new ShaderError object indicating no error.
public  ShaderError(int errorCode, String errorMessage)
     Constructs a new ShaderError object with the given error code and message.

Method Summary
public  Canvas3DgetCanvas3D()
     Returns the canvas associated with this shader error.
public  StringgetDetailMessage()
     Returns the detail message for this shader error.
public  intgetErrorCode()
     Returns the error code for this shader error.
public  StringgetErrorMessage()
     Returns the error message for this shader error.
public  GeometrygetGeometry()
     Returns the geometry associated with this shader error.
public  ShadergetShader()
     Returns the shader object associated with this shader error.
public  ShaderAppearancegetShaderAppearance()
     Returns the shader appearance associated with this shader error.
public  ShaderAttributegetShaderAttribute()
     Returns the shader attribute associated with this shader error.
public  ShaderAttributeSetgetShaderAttributeSet()
     Returns the shader attribute set associated with this shader error.
public  ShaderProgramgetShaderProgram()
     Returns the shader program associated with this shader error.
public  Shape3DgetShape3D()
     Returns the shape node associated with this shader error.
public  voidprintVerbose()
     Prints a verbose error report to System.err.
public  voidprintVerbose(PrintStream printStream)
     Prints a verbose error report to the specified PrintStream.
public  voidsetCanvas3D(Canvas3D canvas)
     Sets the canvas associated with this shader error.
public  voidsetDetailMessage(String detailMessage)
     Sets the detail message for this shader error.
public  voidsetErrorCode(int errorCode)
     Sets the error code for this shader error.
public  voidsetErrorMessage(String errorMessage)
     Sets the error message for this shader error.
public  voidsetGeometry(Geometry geometry)
     Sets the geometry associated with this shader error.
public  voidsetShader(Shader shader)
     Sets the shader object associated with this shader error.
public  voidsetShaderAppearance(ShaderAppearance shaderApp)
     Sets the shader appearance associated with this shader error.
public  voidsetShaderAttribute(ShaderAttribute shaderAttribute)
     Sets the shader attribute associated with this shader error.
public  voidsetShaderAttributeSet(ShaderAttributeSet shaderAttributeSet)
     Sets the shader attribute set associated with this shader error.
public  voidsetShaderProgram(ShaderProgram shaderProgram)
     Sets the shader program associated with this shader error.
public  voidsetShape3D(Shape3D shape)
     Sets the shape node associated with this shader error.
public  StringtoString()
     Returns a short string that describes this shader error.

Field Detail
COMPILE_ERROR
final public static int COMPILE_ERROR(Code)
Indicates that an error occurred while compiling a shader.



LINK_ERROR
final public static int LINK_ERROR(Code)
Indicates that an error occurred while linking a shader.



NO_ERROR
final public static int NO_ERROR(Code)
Indicates that no error occurred.



SHADER_ATTRIBUTE_LOOKUP_ERROR
final public static int SHADER_ATTRIBUTE_LOOKUP_ERROR(Code)
Indicates a error in looking up the location of a uniform shader attribute name within a given shader program.



SHADER_ATTRIBUTE_NAME_NOT_SET_ERROR
final public static int SHADER_ATTRIBUTE_NAME_NOT_SET_ERROR(Code)
Indicates a error caused by a ShaderAttribute whose name does not appear in the list of shader attribute names in the corresponding ShaderProgram object.



SHADER_ATTRIBUTE_TYPE_ERROR
final public static int SHADER_ATTRIBUTE_TYPE_ERROR(Code)
Indicates a error in the type of the attribute versus what the shader program was expecting.



UNSUPPORTED_LANGUAGE_ERROR
final public static int UNSUPPORTED_LANGUAGE_ERROR(Code)
Indicates that the specified shading language is not supported on the screen display device.



VERTEX_ATTRIBUTE_LOOKUP_ERROR
final public static int VERTEX_ATTRIBUTE_LOOKUP_ERROR(Code)
Indicates a error in looking up a vertex attribute name within a given shader program.




Constructor Detail
ShaderError
public ShaderError()(Code)
Constructs a new ShaderError object indicating no error. The error code is set to NO_ERROR. All other fields are initialized to null, including the error message.



ShaderError
public ShaderError(int errorCode, String errorMessage)(Code)
Constructs a new ShaderError object with the given error code and message. All other fields are initialized to null.
Parameters:
  errorCode - the error code for this shader error.
Parameters:
  errorMessage - a short error message describing thisshader error.




Method Detail
getCanvas3D
public Canvas3D getCanvas3D()(Code)
Returns the canvas associated with this shader error. the canvas associated with this shader error.



getDetailMessage
public String getDetailMessage()(Code)
Returns the detail message for this shader error. the detail message for this shader error.



getErrorCode
public int getErrorCode()(Code)
Returns the error code for this shader error. the error code.



getErrorMessage
public String getErrorMessage()(Code)
Returns the error message for this shader error. a short error message describing this shader error.



getGeometry
public Geometry getGeometry()(Code)
Returns the geometry associated with this shader error. the geometry associated with this shader error.



getShader
public Shader getShader()(Code)
Returns the shader object associated with this shader error. the shader object associated with this shader error.



getShaderAppearance
public ShaderAppearance getShaderAppearance()(Code)
Returns the shader appearance associated with this shader error. the shader appearance associated with this shader error.



getShaderAttribute
public ShaderAttribute getShaderAttribute()(Code)
Returns the shader attribute associated with this shader error. the shader attribute associated with this shader error.



getShaderAttributeSet
public ShaderAttributeSet getShaderAttributeSet()(Code)
Returns the shader attribute set associated with this shader error. the shader attribute set associated with this shader error.



getShaderProgram
public ShaderProgram getShaderProgram()(Code)
Returns the shader program associated with this shader error. the shader program associated with this shader error.



getShape3D
public Shape3D getShape3D()(Code)
Returns the shape node associated with this shader error. the shape node associated with this shader error.



printVerbose
public void printVerbose()(Code)
Prints a verbose error report to System.err. This verbose output includes the error code, error message, detail message, and all relevant Java 3D objects.



printVerbose
public void printVerbose(PrintStream printStream)(Code)
Prints a verbose error report to the specified PrintStream. This verbose output includes the error code, error message, detail message, and all relevant Java 3D objects.
Parameters:
  printStream - the print stream on which to print the errorreport.



setCanvas3D
public void setCanvas3D(Canvas3D canvas)(Code)
Sets the canvas associated with this shader error.
Parameters:
  canvas - the canvas associated with this shader error.



setDetailMessage
public void setDetailMessage(String detailMessage)(Code)
Sets the detail message for this shader error. This is a detailed error message, typically produced by the shader compiler, and is not included as part of toString().
Parameters:
  detailMessage - a detailed message describing this shadererror in more detail.



setErrorCode
public void setErrorCode(int errorCode)(Code)
Sets the error code for this shader error. This represents the type of error that occurred.
Parameters:
  errorCode - the error code for this shader error.



setErrorMessage
public void setErrorMessage(String errorMessage)(Code)
Sets the error message for this shader error. This is a short message describing the error, and is included as part of toString().
Parameters:
  errorMessage - a short error message describing thisshader error.



setGeometry
public void setGeometry(Geometry geometry)(Code)
Sets the geometry associated with this shader error.
Parameters:
  geometry - the geometry associated with this shader error.



setShader
public void setShader(Shader shader)(Code)
Sets the shader object associated with this shader error.
Parameters:
  shader - the shader object associated with this shader error.



setShaderAppearance
public void setShaderAppearance(ShaderAppearance shaderApp)(Code)
Sets the shader appearance associated with this shader error.
Parameters:
  shaderApp - the shader appearance associated with this shader error.



setShaderAttribute
public void setShaderAttribute(ShaderAttribute shaderAttribute)(Code)
Sets the shader attribute associated with this shader error.
Parameters:
  shaderAttribute - the shader attribute associated with this shader error.



setShaderAttributeSet
public void setShaderAttributeSet(ShaderAttributeSet shaderAttributeSet)(Code)
Sets the shader attribute set associated with this shader error.
Parameters:
  shaderAttributeSet - the shader attribute set associated with this shader error.



setShaderProgram
public void setShaderProgram(ShaderProgram shaderProgram)(Code)
Sets the shader program associated with this shader error.
Parameters:
  shaderProgram - the shader program associated with this shader error.



setShape3D
public void setShape3D(Shape3D shape)(Code)
Sets the shape node associated with this shader error.
Parameters:
  shape - the shape node associated with this shader error.



toString
public String toString()(Code)
Returns a short string that describes this shader error. The string is composed of the textual description of the errorCode, a ": ", and the errorMessage field. If the errorMessage is null then the ": " and the errorMessage are omitted. a string representation of this shader error.



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.