Changeset 5132 for pjproject/trunk/pjsip-apps/src/swig/pjsua2.i
- Timestamp:
- Jul 13, 2015 11:14:30 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/swig/pjsua2.i
r5123 r5132 39 39 %typemap(javabase) pj::Error "java.lang.Exception"; 40 40 41 %typemap(javacode) pj::Error %{ 42 41 43 // Override getMessage() 42 %typemap(javacode) pj::Error %{43 44 public String getMessage() { 44 45 return getTitle(); 45 46 } 47 48 // Disable serialization (check ticket #1868) 49 private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { 50 throw new java.io.NotSerializableException("Check ticket #1868!"); 51 } 52 private void readObject(java.io.ObjectInputStream in) throws java.io.IOException { 53 throw new java.io.NotSerializableException("Check ticket #1868!"); 54 } 55 46 56 %} 47 57 #endif
Note: See TracChangeset
for help on using the changeset viewer.