Package org.jbox2d.serialization
Interface UnsupportedListener
- All Known Implementing Classes:
ApplyForce,BlobTest4,BodyTypes,Breakable,Cantilever,Car,Chain,CharacterCollision,CircleStress,CollisionFiltering,CollisionProcessing,CompoundShapes,ConfinedTest,ContinuousTest,ConvexHull,ConveyorBelt,DistanceTest,DominoTest,DominoTower,DynamicTreeTest,EdgeShapes,FixedPendulumTest,FreePendulumTest,Gears,LiquidTest,OneSidedTest,PistonTest,PolyShapes,PrismaticTest,Pulleys,PyramidTest,RayCastTest,RevoluteTest,RopeTest,SensorTest,ShapeEditing,SliderCrankTest,SphereStack,TestbedTest,TheoJansen,Tumbler,VaryingFrictionTest,VaryingRestitution,VerticalStack,Web
public interface UnsupportedListener
Used to hear when an object is unsupported by the serializer or the deserializer.
This is so the de/serializer can keep going without throwing an exception and
stopping the entire thing
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisUnsupported(UnsupportedObjectException argException) Called when an object is unsupported by the de/serializer.
-
Method Details
-
isUnsupported
Called when an object is unsupported by the de/serializer.- Parameters:
argException- the exception describing the error- Returns:
- if the process should stop and the exception be thrown
-