Mercurial > MadButterfly
view Android/java/org/madbutterfly/InvalidStateException.java @ 1285:e2d2532c3115
Replace a workaround with a more semantic one.
- In old implementation, it has not clear intention in the syntax.
- I move the line doing real works into the try-except block to
emphasize the intention of skipping scene nodes that is incomplete.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Sat, 15 Jan 2011 18:32:33 +0800 |
parents | c468e397614d |
children |
line wrap: on
line source
package org.madbutterfly; import java.lang.Exception; public class InvalidStateException extends Exception { public InvalidStateException() { super(); } public InvalidStateException(String msg) { super(msg); } }