public static String serverMarshalException(String type, java.lang.Exception exception) {
    { String message = Stella.exceptionMessage(exception);
      ServerException serverexception = ServerException.new_ServerException();
      String xmlstring = null;

      serverexception.Message = message;
      serverexception.Type = type;
      xmlstring = serverexception.TO_XML_STRING();
      return (xmlstring);
    }
  }