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 UnsupportedListenerUsed 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisUnsupported(UnsupportedObjectException argException)Called when an object is unsupported by the de/serializer.
-
-
-
Method Detail
-
isUnsupported
boolean isUnsupported(UnsupportedObjectException argException)
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
-
-