- make SM Serializer only display warning instead of throwing an Exception when the class has not been registered, internally supported classes like jME math primitives were not accepted anymore
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7267 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
67dd48aae7
commit
1203073bd9
@ -293,7 +293,8 @@ public abstract class Serializer {
|
||||
}
|
||||
|
||||
if( failOnMiss ) {
|
||||
throw new IllegalArgumentException( "Class has not been registered:" + cls );
|
||||
Logger.getLogger(Serializer.class.getName()).log(Level.WARNING, "Class has not been registered {0}", cls);
|
||||
// throw new IllegalArgumentException( "Class has not been registered:" + cls );
|
||||
}
|
||||
return registerClass(cls, fieldSerializer);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user