if (isDebug)
trace.write("UNSUPPORTED");
//Unsupported type found in AMF stream.
UnknownTypeException ex = new UnknownTypeException();
ex.setMessage(10302);
throw ex;
case kObjectEndType:
if (isDebug)
trace.write("UNEXPECTED OBJECT END");
//Unexpected object end tag in AMF stream.
UnknownTypeException ex1 = new UnknownTypeException();
ex1.setMessage(10303);
throw ex1;
case kRecordsetType:
if (isDebug)
trace.write("UNEXPECTED RECORDSET");
//AMF Recordsets are not supported.
UnknownTypeException ex2 = new UnknownTypeException();
ex2.setMessage(10304);
throw ex2;
default:
if (isDebug)
trace.write("UNKNOWN TYPE");
UnknownTypeException ex3 = new UnknownTypeException();
ex3.setMessage(10301, new Object[]{new Integer(type)});
throw ex3;
}
return value;
}