]> gerrit.simantics Code Review - simantics/platform.git/blob
77048b2fe72453d958ca97c4b8dbb1ed2f0bdcc8
[simantics/platform.git] /
1 package org.simantics.scl.commands.internal.serialization;
2
3 import org.simantics.db.Resource;
4 import org.simantics.db.WriteGraph;
5
6 public class ErrorSerializer implements CommandSerializer {
7     String name;
8     
9     public ErrorSerializer(String name) {
10         this.name = name;
11     }
12
13     @Override
14     public void serialize(WriteGraph graph, Resource context, Object[] parameters) {
15         System.err.println("Failed to serialize command " + name + ".");
16     }
17 }