From d37e7e02e535d5739e2ee2865041e33dab6b397e Mon Sep 17 00:00:00 2001 From: phil Date: Sun, 4 Dec 2016 19:46:45 +1300 Subject: J3dUtilsI18N class ExceptionStrings property file renamed to org.jogamp.java3d.Utils-ExceptionStrings This was done because it clashed with the ExceptionStrings file in Java3d-core now that the two are in the same package, so if the code was exported to a jar together then one was lost depending on export order --- .../org/jogamp/java3d/internal/J3dUtilsI18N.java | 2 +- .../org/jogamp/java3d/ExceptionStrings.properties | 78 ---------------------- .../java3d/Utils-ExceptionStrings.properties | 78 ++++++++++++++++++++++ 3 files changed, 79 insertions(+), 79 deletions(-) delete mode 100644 src/main/resources/org/jogamp/java3d/ExceptionStrings.properties create mode 100644 src/main/resources/org/jogamp/java3d/Utils-ExceptionStrings.properties (limited to 'src') diff --git a/src/main/java/org/jogamp/java3d/internal/J3dUtilsI18N.java b/src/main/java/org/jogamp/java3d/internal/J3dUtilsI18N.java index 8961ba7..2dfd4fb 100644 --- a/src/main/java/org/jogamp/java3d/internal/J3dUtilsI18N.java +++ b/src/main/java/org/jogamp/java3d/internal/J3dUtilsI18N.java @@ -47,7 +47,7 @@ public class J3dUtilsI18N { static public String getString(String key) { String s; try { - s = ResourceBundle.getBundle("org.jogamp.java3d.ExceptionStrings").getString(key); + s = ResourceBundle.getBundle("org.jogamp.java3d.Utils-ExceptionStrings").getString(key); } catch (MissingResourceException e) { System.err.println("J3dUtilsI18N: Error looking up: " + key); diff --git a/src/main/resources/org/jogamp/java3d/ExceptionStrings.properties b/src/main/resources/org/jogamp/java3d/ExceptionStrings.properties deleted file mode 100644 index 363945c..0000000 --- a/src/main/resources/org/jogamp/java3d/ExceptionStrings.properties +++ /dev/null @@ -1,78 +0,0 @@ -Intersect0=Intersect.rayAndQuad : This quad has less than 4 points! -Intersect1=Intersect.rayAndTriangle : This triangle has less than 3 points! -Intersect3=Intersect.segmentAndQuad : This quad has less than 4 points! -Intersect5=Intersect.segmentAndTriangle:This triange has less than 3 points! -Intersect6=Intersect.segmentAndTriangle : This triange has less than 3 points! -Intersect7=Intersect.pointAndquad : This quad has less than 4 points! -Intersect9=Intersect.pointAndTriangle: This triange has less than 3 points! -Intersect10=Intersect.pointAndTriangle : This triange has less than 3 points! -Intersect11=Intersect.rayAndLine : This line has less than 2 points! -Intersect13=Intersect.segmentAndLine : This line has less than 2 points! -TCBKeyFrame0=TCBKeyFrame: tension value should be between -1 and 1 -TCBKeyFrame1=TCBKeyFrame: bias value should be between -1 and 1 -TCBKeyFrame2=TCBKeyFrame: continuity value should be between -1 and 1 -TCBSplinePathInterpolator0=TCBSplinePathInterpolator: need at least 2 Key Frames for the interpolator -TCBSplinePathInterpolator1=TCBSplinePathInterpolator: first key frame should have knot value of 0.0 -TCBSplinePathInterpolator2=TCBSplinePathInterpolator: last key frame should have knot value of 1.0 -TCBSplinePathInterpolator3=TCBSplinePathInterpolator: Key Frame knot values not in sequence -CubicSplineCurve0=CubicSplineCurve needs at least 4 key frames -KBKeyFrame0=KBKeyFrame: tension value should be between -1 and 1 -KBKeyFrame1=KBKeyFrame: bias value should be between -1 and 1 -KBKeyFrame2=KBKeyFrame: continuity value should be between -1 and 1 -KBSplinePathInterpolator0=KBSplinePathInterpolator: need at least 2 Key Frames for the interpolator -KBSplinePathInterpolator1=KBSplinePathInterpolator: first key frame should have knot value of 0.0 -KBSplinePathInterpolator2=KBSplinePathInterpolator: last key frame should have knot value of 1.0 -KBSplinePathInterpolator3=KBSplinePathInterpolator: Key Frame knot values not in sequence -KBCubicSplineCurve0=KBCubicSplineCurve needs at least 4 key frames -CompressedGeometry0=CompressedGeometry: start+size exceeds geometry length -CompressedGeometry4=CompressedGeometry: target buffer is too small -CompressedGeometry7=CompressedGeometry: cannot directly access data in byReference mode -CompressedGeometry8=CompressedGeometry: must be in byReference mode to use this method -CompressedGeometry9=CompressedGeometry: NIO buffer support is not implemented -GeneralizedStrip0=GeneralizedStrip: strip ended incompletely -GeometryDecompressor0=GeometryDecompressor: start+length > data array size -GeometryDecompressor1=GeometryDecompressor: bad delta normal in compressed buffer -GeometryDecompressorShape3D0=GeometryDecompressorShape3D: bad triangle output type -GeometryDecompressorShape3D1=GeometryDecompressorShape3D: bad buffer data type -GeometryInfo0=Illegal primitive. -GeometryInfo1=Illegal use of deprecated setTextureCoordinateIndices(int[]) -GeometryInfo2=Length of float array not a multiple of dimensionality of texcoords -GeometryInfo3=Coordinate data required. -GeometryInfo4=Color Index list set with no color list set. -GeometryInfo5=Index lists must all be the same length -GeometryInfo6=StripCounts inconsistent with primitive -GeometryInfo7=stripCounts sum inconsistent with number of vertices. -GeometryInfo8=Sum of contourCounts must equal length of stripCounts array. -GeometryInfo9=Data must be one of Point3f, Color3f, Color4f, Vector3f, TexCoord2f, TexCoord3f or TexCoord4f. -GeometryInfo10=Missing Texture Coordinate data list -GeometryInfo11=Normal Index list set with no normal list set. -GeometryInfo12=For triangles, number of vertices must be multiple of 3. -GeometryInfo13=For quads, number of vertices must be multiple of 4. -GeometryInfo14=contourCounts only useful when primitive is POLYGON_ARRAY. -GeometryInfo15=2D texture coordinates not specified. -GeometryInfo16=3D texture coordinates not specified. -GeometryInfo17=4D texture coordinates not specified. -GeometryInfo18=Invalid texture coordinate set index. -GeometryInfo19=Missing Index List. -GeometryInfo20=Non-coordinate index list set in USE_COORD_INDEX_ONLY mode -GeometryInfo21=setTextureCoordinateParams not called -GeometryInfoGenerator0=Unsupported geometry type -Triangulator0=GeometryInfo must have primitive type POLYGON_ARRAY. -ViewingPlatform0=Multiple Viewer support not implemented -ViewingPlatform1=TransformGroup does not exist -DistanceAttenuation0=Distance attenuation array null -VrmlParser0=VRML binary parser disabled -LwsMotion0=Number of motion channels != 9! -LwoSurface0=VSPC problem -LwoParser0=File not of FORM-length-LWOB format -LwsEnvelope0=Number of envelope channels != 1! -SwitchPathInterpolator0=SwitchPathInterpolator: length of knots and numChildren must be equal -FloatValueInterpolator0=FloatValueInterpolator: first knot is not 0.0 -FloatValueInterpolator1=FloatValueInterpolator: last knot is not 1.0 -FloatValueInterpolator2=FloatValueInterpolator: knot values out of order -FloatValueInterpolator3=FloatValueInterpolator: number of knots and values must be equal -JavaSoundMixer0=JavaSoundMixer.prepareSound - bad URL -Behavior0=Cannot call addListener on a Behavior that was not created as a listener. -Stripifier0=Cannot getStripifierStats on a Stripifier object that was not created with the COLLECT_STATS flag. -OrbitBehavior0=Specified function must be one of ROTATE, TRANSLATE or ZOOM. -OrbitBehavior1=Minimum Orbit radius must be > 0.0. diff --git a/src/main/resources/org/jogamp/java3d/Utils-ExceptionStrings.properties b/src/main/resources/org/jogamp/java3d/Utils-ExceptionStrings.properties new file mode 100644 index 0000000..363945c --- /dev/null +++ b/src/main/resources/org/jogamp/java3d/Utils-ExceptionStrings.properties @@ -0,0 +1,78 @@ +Intersect0=Intersect.rayAndQuad : This quad has less than 4 points! +Intersect1=Intersect.rayAndTriangle : This triangle has less than 3 points! +Intersect3=Intersect.segmentAndQuad : This quad has less than 4 points! +Intersect5=Intersect.segmentAndTriangle:This triange has less than 3 points! +Intersect6=Intersect.segmentAndTriangle : This triange has less than 3 points! +Intersect7=Intersect.pointAndquad : This quad has less than 4 points! +Intersect9=Intersect.pointAndTriangle: This triange has less than 3 points! +Intersect10=Intersect.pointAndTriangle : This triange has less than 3 points! +Intersect11=Intersect.rayAndLine : This line has less than 2 points! +Intersect13=Intersect.segmentAndLine : This line has less than 2 points! +TCBKeyFrame0=TCBKeyFrame: tension value should be between -1 and 1 +TCBKeyFrame1=TCBKeyFrame: bias value should be between -1 and 1 +TCBKeyFrame2=TCBKeyFrame: continuity value should be between -1 and 1 +TCBSplinePathInterpolator0=TCBSplinePathInterpolator: need at least 2 Key Frames for the interpolator +TCBSplinePathInterpolator1=TCBSplinePathInterpolator: first key frame should have knot value of 0.0 +TCBSplinePathInterpolator2=TCBSplinePathInterpolator: last key frame should have knot value of 1.0 +TCBSplinePathInterpolator3=TCBSplinePathInterpolator: Key Frame knot values not in sequence +CubicSplineCurve0=CubicSplineCurve needs at least 4 key frames +KBKeyFrame0=KBKeyFrame: tension value should be between -1 and 1 +KBKeyFrame1=KBKeyFrame: bias value should be between -1 and 1 +KBKeyFrame2=KBKeyFrame: continuity value should be between -1 and 1 +KBSplinePathInterpolator0=KBSplinePathInterpolator: need at least 2 Key Frames for the interpolator +KBSplinePathInterpolator1=KBSplinePathInterpolator: first key frame should have knot value of 0.0 +KBSplinePathInterpolator2=KBSplinePathInterpolator: last key frame should have knot value of 1.0 +KBSplinePathInterpolator3=KBSplinePathInterpolator: Key Frame knot values not in sequence +KBCubicSplineCurve0=KBCubicSplineCurve needs at least 4 key frames +CompressedGeometry0=CompressedGeometry: start+size exceeds geometry length +CompressedGeometry4=CompressedGeometry: target buffer is too small +CompressedGeometry7=CompressedGeometry: cannot directly access data in byReference mode +CompressedGeometry8=CompressedGeometry: must be in byReference mode to use this method +CompressedGeometry9=CompressedGeometry: NIO buffer support is not implemented +GeneralizedStrip0=GeneralizedStrip: strip ended incompletely +GeometryDecompressor0=GeometryDecompressor: start+length > data array size +GeometryDecompressor1=GeometryDecompressor: bad delta normal in compressed buffer +GeometryDecompressorShape3D0=GeometryDecompressorShape3D: bad triangle output type +GeometryDecompressorShape3D1=GeometryDecompressorShape3D: bad buffer data type +GeometryInfo0=Illegal primitive. +GeometryInfo1=Illegal use of deprecated setTextureCoordinateIndices(int[]) +GeometryInfo2=Length of float array not a multiple of dimensionality of texcoords +GeometryInfo3=Coordinate data required. +GeometryInfo4=Color Index list set with no color list set. +GeometryInfo5=Index lists must all be the same length +GeometryInfo6=StripCounts inconsistent with primitive +GeometryInfo7=stripCounts sum inconsistent with number of vertices. +GeometryInfo8=Sum of contourCounts must equal length of stripCounts array. +GeometryInfo9=Data must be one of Point3f, Color3f, Color4f, Vector3f, TexCoord2f, TexCoord3f or TexCoord4f. +GeometryInfo10=Missing Texture Coordinate data list +GeometryInfo11=Normal Index list set with no normal list set. +GeometryInfo12=For triangles, number of vertices must be multiple of 3. +GeometryInfo13=For quads, number of vertices must be multiple of 4. +GeometryInfo14=contourCounts only useful when primitive is POLYGON_ARRAY. +GeometryInfo15=2D texture coordinates not specified. +GeometryInfo16=3D texture coordinates not specified. +GeometryInfo17=4D texture coordinates not specified. +GeometryInfo18=Invalid texture coordinate set index. +GeometryInfo19=Missing Index List. +GeometryInfo20=Non-coordinate index list set in USE_COORD_INDEX_ONLY mode +GeometryInfo21=setTextureCoordinateParams not called +GeometryInfoGenerator0=Unsupported geometry type +Triangulator0=GeometryInfo must have primitive type POLYGON_ARRAY. +ViewingPlatform0=Multiple Viewer support not implemented +ViewingPlatform1=TransformGroup does not exist +DistanceAttenuation0=Distance attenuation array null +VrmlParser0=VRML binary parser disabled +LwsMotion0=Number of motion channels != 9! +LwoSurface0=VSPC problem +LwoParser0=File not of FORM-length-LWOB format +LwsEnvelope0=Number of envelope channels != 1! +SwitchPathInterpolator0=SwitchPathInterpolator: length of knots and numChildren must be equal +FloatValueInterpolator0=FloatValueInterpolator: first knot is not 0.0 +FloatValueInterpolator1=FloatValueInterpolator: last knot is not 1.0 +FloatValueInterpolator2=FloatValueInterpolator: knot values out of order +FloatValueInterpolator3=FloatValueInterpolator: number of knots and values must be equal +JavaSoundMixer0=JavaSoundMixer.prepareSound - bad URL +Behavior0=Cannot call addListener on a Behavior that was not created as a listener. +Stripifier0=Cannot getStripifierStats on a Stripifier object that was not created with the COLLECT_STATS flag. +OrbitBehavior0=Specified function must be one of ROTATE, TRANSLATE or ZOOM. +OrbitBehavior1=Minimum Orbit radius must be > 0.0. -- cgit v1.2.3