[aXSL-commit] SF.net SVN: axsl: [525] trunk/axsl/axsl-area-w/src/java/org/axsl/areaW
An API for XSL-FO.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2006-05-08 17:55:53
|
Revision: 525 Author: victormote Date: 2006-05-07 07:41:22 -0700 (Sun, 07 May 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=525&view=rev Log Message: ----------- Rename Exception classes for consistency and clarity. Modified Paths: -------------- trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaTree.java Added Paths: ----------- trunk/axsl/axsl-area-r/src/java/org/axsl/areaR/AreaRException.java trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaWException.java Removed Paths: ------------- trunk/axsl/axsl-area-r/src/java/org/axsl/areaR/AreaOutException.java trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaInException.java Deleted: trunk/axsl/axsl-area-r/src/java/org/axsl/areaR/AreaOutException.java =================================================================== --- trunk/axsl/axsl-area-r/src/java/org/axsl/areaR/AreaOutException.java 2006-05-07 01:06:06 UTC (rev 524) +++ trunk/axsl/axsl-area-r/src/java/org/axsl/areaR/AreaOutException.java 2006-05-07 14:41:22 UTC (rev 525) @@ -1,58 +0,0 @@ -/* - * Copyright 2006 The aXSL Project. - * http://www.axsl.org - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -/* $Id$ */ - -package org.axsl.areaR; - -/** - * Exception thrown when an axslAreaOut implementation has a problem. - */ -public class AreaOutException extends Exception { - - static final long serialVersionUID = 99053201977048201L; - - /** - * Create a new AreaOutException. - * Identical to {@link Exception#Exception(java.lang.String)} - * @see Exception#Exception(java.lang.String) - */ - public AreaOutException(String message) { - super(message); - } - - /** - * Create a new AreaOutException. - * Identical to {@link Exception#Exception(java.lang.Throwable)} - * @see Exception#Exception(java.lang.Throwable) - */ - public AreaOutException(Throwable cause) { - super(cause); - } - - /** - * Create a new AreaOutException. - * Identical to {@link Exception#Exception(java.lang.String, - * java.lang.Throwable)} - * @see Exception#Exception(java.lang.String, java.lang.Throwable) - */ - public AreaOutException(String message, Throwable cause) { - super(message, cause); - } - -} Copied: trunk/axsl/axsl-area-r/src/java/org/axsl/areaR/AreaRException.java (from rev 509, trunk/axsl/axsl-area-r/src/java/org/axsl/areaR/AreaOutException.java) =================================================================== --- trunk/axsl/axsl-area-r/src/java/org/axsl/areaR/AreaRException.java (rev 0) +++ trunk/axsl/axsl-area-r/src/java/org/axsl/areaR/AreaRException.java 2006-05-07 14:41:22 UTC (rev 525) @@ -0,0 +1,58 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id$ */ + +package org.axsl.areaR; + +/** + * Exception thrown when an axslAreaOut implementation has a problem. + */ +public class AreaRException extends Exception { + + static final long serialVersionUID = 99053201977048201L; + + /** + * Create a new AreaOutException. + * Identical to {@link Exception#Exception(java.lang.String)} + * @see Exception#Exception(java.lang.String) + */ + public AreaRException(String message) { + super(message); + } + + /** + * Create a new AreaOutException. + * Identical to {@link Exception#Exception(java.lang.Throwable)} + * @see Exception#Exception(java.lang.Throwable) + */ + public AreaRException(Throwable cause) { + super(cause); + } + + /** + * Create a new AreaOutException. + * Identical to {@link Exception#Exception(java.lang.String, + * java.lang.Throwable)} + * @see Exception#Exception(java.lang.String, java.lang.Throwable) + */ + public AreaRException(String message, Throwable cause) { + super(message, cause); + } + +} Deleted: trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaInException.java =================================================================== --- trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaInException.java 2006-05-07 01:06:06 UTC (rev 524) +++ trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaInException.java 2006-05-07 14:41:22 UTC (rev 525) @@ -1,58 +0,0 @@ -/* - * Copyright 2006 The aXSL Project. - * http://www.axsl.org - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -/* $Id$ */ - -package org.axsl.areaW; - -/** - * Exception thrown when an axslAreaIn implementation has a problem. - */ -public class AreaInException extends Exception { - - static final long serialVersionUID = 14437113209894753L; - - /** - * Create a new AreaInException. - * Identical to {@link Exception#Exception(java.lang.String)} - * @see Exception#Exception(java.lang.String) - */ - public AreaInException(String message) { - super(message); - } - - /** - * Create a new AreaInException. - * Identical to {@link Exception#Exception(java.lang.Throwable)} - * @see Exception#Exception(java.lang.Throwable) - */ - public AreaInException(Throwable cause) { - super(cause); - } - - /** - * Create a new AreaInException. - * Identical to {@link Exception#Exception(java.lang.String, - * java.lang.Throwable)} - * @see Exception#Exception(java.lang.String, java.lang.Throwable) - */ - public AreaInException(String message, Throwable cause) { - super(message, cause); - } - -} Modified: trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaTree.java =================================================================== --- trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaTree.java 2006-05-07 01:06:06 UTC (rev 524) +++ trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaTree.java 2006-05-07 14:41:22 UTC (rev 525) @@ -40,6 +40,6 @@ * @param rootFObj The Root instance that is the grand ancestor of the * FOTree that was parsed. */ - public void layoutDocumentNodes(Root rootFObj) throws AreaInException ; + public void layoutDocumentNodes(Root rootFObj) throws AreaWException ; } Copied: trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaWException.java (from rev 509, trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaInException.java) =================================================================== --- trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaWException.java (rev 0) +++ trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaWException.java 2006-05-07 14:41:22 UTC (rev 525) @@ -0,0 +1,58 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id$ */ + +package org.axsl.areaW; + +/** + * Exception thrown when an axslAreaIn implementation has a problem. + */ +public class AreaWException extends Exception { + + static final long serialVersionUID = 14437113209894753L; + + /** + * Create a new AreaInException. + * Identical to {@link Exception#Exception(java.lang.String)} + * @see Exception#Exception(java.lang.String) + */ + public AreaWException(String message) { + super(message); + } + + /** + * Create a new AreaInException. + * Identical to {@link Exception#Exception(java.lang.Throwable)} + * @see Exception#Exception(java.lang.Throwable) + */ + public AreaWException(Throwable cause) { + super(cause); + } + + /** + * Create a new AreaInException. + * Identical to {@link Exception#Exception(java.lang.String, + * java.lang.Throwable)} + * @see Exception#Exception(java.lang.String, java.lang.Throwable) + */ + public AreaWException(String message, Throwable cause) { + super(message, cause); + } + +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |