You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SerialX-core/src/main/java/org/ugp/serialx/protocols/SerializationProtocol.java
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -171,6 +171,8 @@ public void setActive(boolean isActive)
171
171
* @return Array of objects to serialize created from given object. Object will be serialized via protocol picked from {@link SerializationProtocol#REGISTRY}.
172
172
* {@link SerializationProtocol#serialize(Class, Object...)} method of picked protocol will be called! Null will be returned if no protocol was found and you will be prompted with error message!
173
173
*
174
+
* @throws Exception Depends on the implementation of {@link SerializationProtocol#serialize(Object)}.
* @return Array of objects to serialize created from given object. Object will be serialized via protocol picked from registry.
187
189
* {@link SerializationProtocol#serialize(Class, Object...)} method of picked protocol will be called! Null will be returned if no protocol was found and you will be prompted with error message!
188
190
*
191
+
* @throws Exception Depends on the implementation of {@link SerializationProtocol#serialize(Object)}.
0 commit comments